Victtor
Board Regular
- Joined
- Jan 4, 2007
- Messages
- 170
- Office Version
- 365
- Platform
- Windows
the basic formula I use is this:
=SUMIF(A:A,$A$10,B:B) in this example, $A$10 returns "Total Net Sales" and there is a dollar amount in column B
but...I need to sum all instances of $A$10 only if the cell 3 spots above each instance = "Saturday"
I hope this is clear.
the first instance of "Total Net Sales" occurs on A10. However in this case, the cell 3 spots above it, A7, contains "Thursday" so I do not want the corresponding number in Column B summed.
however,
another instance of "Total Net Sales" occurs on A97. However in this case, the cell 3 spots above it, A94, contains "Saturday" so I WANT the corresponding number in Column B summed.
The ultimate goal of this is to use the formula to sum the data for all Saturdays and all Sundays only. So if you can write the formula to extract the sales for Saturday and Sunday, I would be grateful
=SUMIF(A:A,$A$10,B:B) in this example, $A$10 returns "Total Net Sales" and there is a dollar amount in column B
but...I need to sum all instances of $A$10 only if the cell 3 spots above each instance = "Saturday"
I hope this is clear.
the first instance of "Total Net Sales" occurs on A10. However in this case, the cell 3 spots above it, A7, contains "Thursday" so I do not want the corresponding number in Column B summed.
however,
another instance of "Total Net Sales" occurs on A97. However in this case, the cell 3 spots above it, A94, contains "Saturday" so I WANT the corresponding number in Column B summed.
The ultimate goal of this is to use the formula to sum the data for all Saturdays and all Sundays only. So if you can write the formula to extract the sales for Saturday and Sunday, I would be grateful
Last edited: