Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default SUMIF and INDIRECT

I have several working worksheets with data.

I made an summary sheet for all working worksheets.

The formula I used is =SUMIF(Sheet1!$C$3:$F$258,$A3,Sheet1!$F$3:$F$258)

Now, I attempt to replace "Sheet1" with function INDIRECT.




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUMIF and INDIRECT

Hmmm....

My best guess:

A1 = Sheet1

=SUMIF(INDIRECT("'"&A1&"'!C3:C258"),$A3,INDIRECT(" '"&A1&"'!F3:F258"))

Biff

"Lok Tak Cheong" wrote in message
...
I have several working worksheets with data.

I made an summary sheet for all working worksheets.

The formula I used is =SUMIF(Sheet1!$C$3:$F$258,$A3,Sheet1!$F$3:$F$258)

Now, I attempt to replace "Sheet1" with function INDIRECT.






  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 299
Default SUMIF and INDIRECT

Maybe you should rephrase your question?
Do you mean that you want to replace Sheet1 with INDIRECT and a cell where
you put the sheet name?
Assume you put Sheet1 in cell A2

=SUMIF(INDIRECT("'"&A2&"'!$C$3:$C$258"),$A3,INDIRE CT("'"&A2&"'!$F$3:$F$258"))

--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)


"Lok Tak Cheong" wrote in message
...
I have several working worksheets with data.

I made an summary sheet for all working worksheets.

The formula I used is =SUMIF(Sheet1!$C$3:$F$258,$A3,Sheet1!$F$3:$F$258)

Now, I attempt to replace "Sheet1" with function INDIRECT.






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default SUMIF and INDIRECT

Dear Valko & Sjoblom,
It works!
Thanks a lot!
"Peo Sjoblom" wrote in message
...
Maybe you should rephrase your question?
Do you mean that you want to replace Sheet1 with INDIRECT and a cell where
you put the sheet name?
Assume you put Sheet1 in cell A2

=SUMIF(INDIRECT("'"&A2&"'!$C$3:$C$258"),$A3,INDIRE CT("'"&A2&"'!$F$3:$F$258"))

--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com
(Remove ^^ from email)


"Lok Tak Cheong" wrote in message
...
I have several working worksheets with data.

I made an summary sheet for all working worksheets.

The formula I used is =SUMIF(Sheet1!$C$3:$F$258,$A3,Sheet1!$F$3:$F$258)

Now, I attempt to replace "Sheet1" with function INDIRECT.








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
sumif + indirect kevcar40 Excel Discussion (Misc queries) 3 March 13th 07 03:24 PM
SUMIF + INDIRECT? Davoud Excel Worksheet Functions 4 February 22nd 07 07:50 PM
Indirect and Sumif Syntax Problems [email protected] Excel Discussion (Misc queries) 3 August 4th 06 01:59 AM
SUMIF INDIRECT Alectrical Excel Worksheet Functions 8 November 28th 05 02:05 PM
Combine Indirect and Sumif dcd123 Excel Worksheet Functions 3 October 27th 05 04:20 PM


All times are GMT +1. The time now is 06:29 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"