A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi Charles,
Regarding your concern, there are a lot of approaches to achieve your goal, depending on your worksheet structure. You can use XLOOKUP/VLOOKUP from the forum's AI-suggested answer, or you can use SUMIF/SUMIFS. For example, I have this data table:
| Category (col A) | Amount (col B) |
|---|---|
| Food | 25 |
| Travel | 40 |
| Food | 15 |
| Office | 30 |
If I want to add all amounts in Column B where Column A says "Food", I will use this formula =SUMIF(A:A,"Food",B:B) and I will get the result 40.
That said, for the best possible assistance, please share some sample data or a screenshot of your current worksheet structure and your expected outcome so I can clearly understand your situation and provide better guidance.
Please understand that my initial reply may not always immediately resolve the issue. However, with your help and more detailed information, we can work together to find a solution.
Thank you for your cooperation and understanding. Hope to hear from you soon.
Note: Please follow the steps in the forum documentation to enable e-mail notifications if you want to receive the related email notification for this thread.