Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() 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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
=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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
help with Indirect formula | Excel Worksheet Functions | |||
indirect formula | Excel Worksheet Functions | |||
Indirect Formula | Excel Discussion (Misc queries) | |||
Indirect Formula | Excel Worksheet Functions | |||
indirect formula | Excel Worksheet Functions |