Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default 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



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default 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






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default 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






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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










Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
help with Indirect formula [email protected] Excel Worksheet Functions 4 May 18th 07 10:28 PM
indirect formula Confused_Euffy Excel Worksheet Functions 4 May 12th 07 12:58 PM
Indirect Formula lmullenjr Excel Discussion (Misc queries) 2 May 10th 06 03:19 PM
Indirect Formula fullers Excel Worksheet Functions 3 November 25th 05 01:08 PM
indirect formula Manos Excel Worksheet Functions 0 February 16th 05 01:17 PM


All times are GMT +1. The time now is 11:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"