Hi I need to EDIT/REPLACE the following formula so that it counts from zero in each CATEGORY:
=LOOKUP(E4,{0,101,301,501,801},{"A","B","C","D","NEXT"})
At the moment the SPREADSHEET formula to replace the COLUMN F formula, WRONGLY counts 0 to 100, then 101 to 300, then 301 to 500, then 501 to 800, then 801 (Or something like that).
I WANT THE FORMULA TO COUNT AS FOLLOWS to CALC WHICH CATEGORY THE ITEMs ARE, PER ROW:
0 to 100, 0 to 300, 0 to 500, 0 to 800.
DESCRIPTION:
The formula needs to fill (As much possible, without going over the max), the CATEGORIES only in order of RANGE GROUPS (5 ranges, each with 4 different categories):
"A", then "B", then "C", then "D", then if possible count starts again at "A", etc.
TIER RANGES:
CATEGORY MIN MAX
A 0 100
B 0 300
C 0 500
D 0 800
DATA TABLE EG:
ROW 2, MISC ITEM, £50 X1 = £50, Running absolute total = £50, CATEGORY = A (Range A total so far = £50)
ROW 3, MISC ITEM, £30 X1 = £30, Running absolute total = £80, CATEGORY = A (Range A total so far = £80)
ROW 4, MISC ITEM, £30 X1 = £30, Running absolute total = £110, CATEGORY = B (Range B total so far = £30)
ROW 5, MISC ITEM, £50 X4 = £200, Running absolute total = £310, CATEGORY = B (Range B total so far = £230)
ROW 6, MISC ITEM, £80 X1 = £80, Running absolute total = £390, CATEGORY = C (Range c total so far = £80)
SEE SPREADSHEET IN PROGRESS
Cheers for your help as this conundrum has been troubling me for sometime!
Stephan
=LOOKUP(E4,{0,101,301,501,801},{"A","B","C","D","NEXT"})
At the moment the SPREADSHEET formula to replace the COLUMN F formula, WRONGLY counts 0 to 100, then 101 to 300, then 301 to 500, then 501 to 800, then 801 (Or something like that).
I WANT THE FORMULA TO COUNT AS FOLLOWS to CALC WHICH CATEGORY THE ITEMs ARE, PER ROW:
0 to 100, 0 to 300, 0 to 500, 0 to 800.
DESCRIPTION:
The formula needs to fill (As much possible, without going over the max), the CATEGORIES only in order of RANGE GROUPS (5 ranges, each with 4 different categories):
"A", then "B", then "C", then "D", then if possible count starts again at "A", etc.
TIER RANGES:
CATEGORY MIN MAX
A 0 100
B 0 300
C 0 500
D 0 800
DATA TABLE EG:
ROW 2, MISC ITEM, £50 X1 = £50, Running absolute total = £50, CATEGORY = A (Range A total so far = £50)
ROW 3, MISC ITEM, £30 X1 = £30, Running absolute total = £80, CATEGORY = A (Range A total so far = £80)
ROW 4, MISC ITEM, £30 X1 = £30, Running absolute total = £110, CATEGORY = B (Range B total so far = £30)
ROW 5, MISC ITEM, £50 X4 = £200, Running absolute total = £310, CATEGORY = B (Range B total so far = £230)
ROW 6, MISC ITEM, £80 X1 = £80, Running absolute total = £390, CATEGORY = C (Range c total so far = £80)
SEE SPREADSHEET IN PROGRESS
Cheers for your help as this conundrum has been troubling me for sometime!
Stephan