![]() |
indirect formula help please
how can i use indirect to replace the x - 2 in the criteria argument with a cell reference? can't seem to figure it out. =SUMIF(U$22:U$527,"X - 2",P$22:P$527) -- Gary |
indirect formula help please
=SUMIF(U$22:U$527,B9,P$22:P$527)
What is X then? =SUMIF(U$22:U$527,Indirect("A" & x-2),P$22:P$527) if x is a defined name. or if you want to refer to a cell for the value of x =SUMIF(U$22:U$527,Indirect("A" & B3-2),P$22:P$527) -- Regards, Tom Ogilvy "Gary Keramidas" wrote: how can i use indirect to replace the x - 2 in the criteria argument with a cell reference? can't seem to figure it out. =SUMIF(U$22:U$527,"X - 2",P$22:P$527) -- Gary |
indirect formula help please
x - 2 is a code for a product and it resides in a cell, U1 in this case
other codes a w-2 bab 10r -- Gary "Tom Ogilvy" wrote in message ... =SUMIF(U$22:U$527,B9,P$22:P$527) What is X then? =SUMIF(U$22:U$527,Indirect("A" & x-2),P$22:P$527) if x is a defined name. or if you want to refer to a cell for the value of x =SUMIF(U$22:U$527,Indirect("A" & B3-2),P$22:P$527) -- Regards, Tom Ogilvy "Gary Keramidas" wrote: how can i use indirect to replace the x - 2 in the criteria argument with a cell reference? can't seem to figure it out. =SUMIF(U$22:U$527,"X - 2",P$22:P$527) -- Gary |
indirect formula help please
so, i'm guessing i don't really need indirect, correct?
thanks tom -- Gary "Tom Ogilvy" wrote in message ... =SUMIF(U$22:U$527,B9,P$22:P$527) What is X then? =SUMIF(U$22:U$527,Indirect("A" & x-2),P$22:P$527) if x is a defined name. or if you want to refer to a cell for the value of x =SUMIF(U$22:U$527,Indirect("A" & B3-2),P$22:P$527) -- Regards, Tom Ogilvy "Gary Keramidas" wrote: how can i use indirect to replace the x - 2 in the criteria argument with a cell reference? can't seem to figure it out. =SUMIF(U$22:U$527,"X - 2",P$22:P$527) -- Gary |
indirect formula help please
Not with sumif.
-- Regards, Tom Ogilvy "Gary Keramidas" <GKeramidasATmsn.com wrote in message ... so, i'm guessing i don't really need indirect, correct? thanks tom -- Gary "Tom Ogilvy" wrote in message ... =SUMIF(U$22:U$527,B9,P$22:P$527) What is X then? =SUMIF(U$22:U$527,Indirect("A" & x-2),P$22:P$527) if x is a defined name. or if you want to refer to a cell for the value of x =SUMIF(U$22:U$527,Indirect("A" & B3-2),P$22:P$527) -- Regards, Tom Ogilvy "Gary Keramidas" wrote: how can i use indirect to replace the x - 2 in the criteria argument with a cell reference? can't seem to figure it out. =SUMIF(U$22:U$527,"X - 2",P$22:P$527) -- Gary |
All times are GMT +1. The time now is 05:16 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com