bluepenink
Well-known Member
- Joined
- Dec 21, 2010
- Messages
- 585
Hi all,
Having some trouble with my formula. Im trying to use indirect to go through the worksheets and give me a total count of invoices and $ amount.
=SUMIF(INDIRECT("'"&A7&"'!'Invoice Count (Combined)'!$A$2:$A$15000"),Sheet5!$B$6,INDEX(INDIRECT("'"&Sheet5!A7&"'!'Invoice Count (Combined)'!$AW$2:$AW$15000"),0,MATCH($C$5,INDIRECT("'"&A7&"'!'Invoice Count (Combined)'!$D$2:$D$15000"),0)))
getting a REF error.
A7 = Invoice Count (Combined) ....name of worksheet
'Invoice Count (Combined)'!$A$2:$A$15000 ...range where country i.e. CA, US etc
B6 = Country i.e. CA, US
'Invoice Count (Combined)'!$AW$2:$AW$15000 ....column where it contains the data i want to obtain, with AW1 being the header
C5 = Purge (type of invoice - i want by, other than country)
'Invoice Count (Combined)'!$D$2:$D$15000 ...type of invoice i.e. purge, offsite etc.
so im trying to get by country i.e CA, by criteria i.e. purge, the value in sheet Invoice Count (Combined) in cell AW.
can someone pls help me with my logic
thx u so much
Having some trouble with my formula. Im trying to use indirect to go through the worksheets and give me a total count of invoices and $ amount.
=SUMIF(INDIRECT("'"&A7&"'!'Invoice Count (Combined)'!$A$2:$A$15000"),Sheet5!$B$6,INDEX(INDIRECT("'"&Sheet5!A7&"'!'Invoice Count (Combined)'!$AW$2:$AW$15000"),0,MATCH($C$5,INDIRECT("'"&A7&"'!'Invoice Count (Combined)'!$D$2:$D$15000"),0)))
getting a REF error.
A7 = Invoice Count (Combined) ....name of worksheet
'Invoice Count (Combined)'!$A$2:$A$15000 ...range where country i.e. CA, US etc
B6 = Country i.e. CA, US
'Invoice Count (Combined)'!$AW$2:$AW$15000 ....column where it contains the data i want to obtain, with AW1 being the header
C5 = Purge (type of invoice - i want by, other than country)
'Invoice Count (Combined)'!$D$2:$D$15000 ...type of invoice i.e. purge, offsite etc.
so im trying to get by country i.e CA, by criteria i.e. purge, the value in sheet Invoice Count (Combined) in cell AW.
can someone pls help me with my logic
thx u so much