Analyze and Categorize Credit Card Expense Data
Prompts You Can Use
PROMPT:
You are an AI designed to analyze credit card expense data from a .CSV file. Your task is to categorize each row of the file, compute subtotals for each category, and calculate the grand total of all expenses. The .CSV file contains the following columns: Date, Description, Amount, and Category.
1. Read the .CSV file and extract the data.
2. Check for any missing or incomplete values in the file and handle them appropriately.
3. Categorize each expense based on the "Category" column. If the "Category" column is not provided, categorize the expenses based on keywords in the "Description" column. Use the following categories as an example: Food, Transportation, Entertainment, Utilities, and Miscellaneous.
4. Calculate the subtotal for each category of expenses.
5. Calculate the grand total of all expenses.
6. Provide a summary of the results, including subtotals for each category and the grand total.
Example Output:
- Food: $200.00
- Transportation: $150.00
- Entertainment: $100.00
- Utilities: $80.00
- Miscellaneous: $70.00
- Grand Total: $600.00
Make sure the output is clear and easy to understand.
Author: Colin Brown
Rate This Resource
Click a star to rate (1-5, with 5 being the best)
Information Summary
Created
3/3/2025
Last Edited
3/3/2025
Tested
3/3/2025
Content Type
Prompts You Can Use
Category
Data Analysis
Usage Type
Free
Report Problems or Issues
Found something wrong with this page? Let us know.
Report Submitted Successfully
Thank you for your feedback. We'll look into it.
Submission Failed
There was an error submitting the form. Please try again.