Hi
I have a vlookup:
=IF(ISERROR(VLOOKUP(H$6&$H$4&$A7&$A$20&"0",TERRITORY,2,FALSE))=TRUE,0,VLOOKUP(H$6&$H$4&$A7&$A$20&"0",TERRITORY,2,FALSE))
where H6 =month, H4=Year, A7 = prod group A20 = Territory.
This returns the sales per month for each territory by prod code.
But now I need rest of the world and need to add the total for all remaining territories, I have 12 territories to consider I tried to put a range in this statement rather than adding on another lookup for each territory, but it does not add up all territories in the range, instead it gives me a zero qty when I know there is data there.
Is there any way to do this?
Territories are in A20:A32
=IF(ISERROR(VLOOKUP(H$6&$H$4&$A7&$A$20:$A$32&"0",TERRITORY,2,FALSE))=TRUE,0,VLOOKUP(H$6&$H$4&$A7&$A$20:$A$32&"0",TERRITORY,2,FALSE))
AJD
I have a vlookup:
=IF(ISERROR(VLOOKUP(H$6&$H$4&$A7&$A$20&"0",TERRITORY,2,FALSE))=TRUE,0,VLOOKUP(H$6&$H$4&$A7&$A$20&"0",TERRITORY,2,FALSE))
where H6 =month, H4=Year, A7 = prod group A20 = Territory.
This returns the sales per month for each territory by prod code.
But now I need rest of the world and need to add the total for all remaining territories, I have 12 territories to consider I tried to put a range in this statement rather than adding on another lookup for each territory, but it does not add up all territories in the range, instead it gives me a zero qty when I know there is data there.
Is there any way to do this?
Territories are in A20:A32
=IF(ISERROR(VLOOKUP(H$6&$H$4&$A7&$A$20:$A$32&"0",TERRITORY,2,FALSE))=TRUE,0,VLOOKUP(H$6&$H$4&$A7&$A$20:$A$32&"0",TERRITORY,2,FALSE))
AJD