samide2001
New Member
- Joined
- Feb 2, 2024
- Messages
- 11
- Office Version
- 365
- Platform
- MacOS
All of the formulas I am doing will be on a summary tab that looks at data added on monthly tabs "Jan", "Feb", etc. . So I cannot add helper columns. The number of rows per column will change, and the number of duplicates will also change. So, if the formula could be derived to look at the entire column that would be great! I may not be the only end-user of the spreadsheet. The end-user will be downloading the data, copy/pasting into the monthly tabs, and then the formulas should hopefully auto-populate the monthly summary for them.
On the summary tab, I need the formula to look at the data on the associated tab column A and for each unique ID number I need to look at column Y and subtract the amount in column W if column B has "canceled" AND column AA is blank.
So for the data set below, there are 5 "canceled" instances in Column B, but only 3 of them have a blank cell in Column AA, and of those 3 there are only 2 unique IDs in Column A. So the result would be $28.27
On the summary tab, I need the formula to look at the data on the associated tab column A and for each unique ID number I need to look at column Y and subtract the amount in column W if column B has "canceled" AND column AA is blank.
So for the data set below, there are 5 "canceled" instances in Column B, but only 3 of them have a blank cell in Column AA, and of those 3 there are only 2 unique IDs in Column A. So the result would be $28.27
2023 - TikTokShop Spreadsheet.xlsx | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | W | X | Y | Z | AA | |||||||||||||||||||||||
1 | Order ID | Order Status | Taxes | Order Amount | Order Refund Amount | Created Time | Paid Time | ||||||||||||||||||||||
2 | Platform unique order ID. | Current order status. | Order total amount paid by the buyer. | Order total refund amount of all returned SKUs. | Order created time. | Order paid time. | |||||||||||||||||||||||
3 | 576473553911582988 | Completed | 1.52 | 12.02 | 07/31/2023 6:14:07 PM | 07/31/2023 6:14:10 PM | |||||||||||||||||||||||
4 | 576473470461448948 | Completed | 1.22 | 24.22 | 07/31/2023 10:38:19 AM | 07/31/2023 10:38:22 AM | |||||||||||||||||||||||
5 | 576473470461448948 | Completed | 1.22 | 24.22 | 07/31/2023 10:38:19 AM | 07/31/2023 10:38:22 AM | |||||||||||||||||||||||
6 | 576473441536020829 | Completed | 0.5 | 14.49 | 07/31/2023 8:11:24 AM | 07/31/2023 8:11:27 AM | |||||||||||||||||||||||
7 | 576473423026557177 | Completed | 1.09 | 16.09 | 07/31/2023 6:35:14 AM | 07/31/2023 6:35:17 AM | |||||||||||||||||||||||
8 | 576473308230422775 | Completed | 1.05 | 16.05 | 07/30/2023 6:26:15 PM | 07/30/2023 6:26:48 PM | |||||||||||||||||||||||
9 | 576473303896003495 | Completed | 0.6 | 15.6 | 07/30/2023 5:45:11 PM | 07/30/2023 5:45:35 PM | |||||||||||||||||||||||
10 | 576473291302408951 | Completed | 1.09 | 11.59 | 07/30/2023 4:47:56 PM | 07/30/2023 4:47:59 PM | |||||||||||||||||||||||
11 | 576473221986357846 | Completed | 1.16 | 17.15 | 07/30/2023 10:15:21 AM | 07/30/2023 10:15:24 AM | |||||||||||||||||||||||
12 | 576473223449055830 | Completed | 1.38 | 20.37 | 07/30/2023 10:13:48 AM | 07/30/2023 10:13:51 AM | |||||||||||||||||||||||
13 | 576473222655545942 | Completed | 1.52 | 22.51 | 07/30/2023 10:06:41 AM | 07/30/2023 10:06:44 AM | |||||||||||||||||||||||
14 | 576473201202336383 | Canceled | 1.47 | 22.46 | 16.05 | 07/30/2023 8:23:02 AM | |||||||||||||||||||||||
15 | 576473198163628143 | Canceled | 1.68 | 26.67 | 16.01 | 07/30/2023 8:18:43 AM | 07/30/2023 8:19:38 AM | ||||||||||||||||||||||
16 | 576473198163628143 | Canceled | 1.68 | 26.67 | 4.27 | 07/30/2023 8:18:43 AM | 07/30/2023 8:19:38 AM | ||||||||||||||||||||||
107 | 576472282577736405 | Completed | 1.43 | 11.93 | 07/26/2023 6:16:51 PM | 07/26/2023 6:16:54 PM | |||||||||||||||||||||||
108 | 576472272126316567 | Canceled | 2.62 | 32.62 | 16.31 | 07/26/2023 5:36:22 PM | |||||||||||||||||||||||
109 | 576472272126316567 | Canceled | 2.62 | 32.62 | 16.31 | 07/26/2023 5:36:22 PM | |||||||||||||||||||||||
110 | 576472273471377665 | Completed | 1.81 | 14.06 | 07/26/2023 5:31:15 PM | 07/26/2023 5:34:48 PM | |||||||||||||||||||||||
Jul |