Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ramana
 
Posts: n/a
Default Nesting of sumif formula.

Hi everybody,

First of all I wish you all a very Happy and Prosperous new year
2006.

I have 10 work sheets, in the 11th sheet I want to sum a column based
on the column F value. I'm givivg you an example for this.

In 11th work sheet in column F I have this formula.

=sumif('sheet1!'D1:D100="X",'sheet1!'f1:f100)+sumi f('sheet2!'D1:D100="X",'sheet2!'f1:f100)+sumif('sh eet3!'D1:D100="X",'sheet3!'f1:f100)+sumif('sheet4! 'D1:D100="X",'sheet4!'f1:f100)+.....sumif('sheet10 !'D1:D100="X",'sheet10!'f1:f100).
Some times the sheets may go up to 50.

So I need a nested formula like
sumif(Sheet1:sheet10d1:d100="x",sheet1:sheet10f1:f 100)

If any body hae suggestions plz give me.

Thanks and Regards

Ramana

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default Nesting of sumif formula.

Take a look he

http://www.mcgimpsey.com/excel/threedsumif.html

In article . com,
"ramana" wrote:

Hi everybody,

First of all I wish you all a very Happy and Prosperous new year
2006.

I have 10 work sheets, in the 11th sheet I want to sum a column based
on the column F value. I'm givivg you an example for this.

In 11th work sheet in column F I have this formula.

=sumif('sheet1!'D1:D100="X",'sheet1!'f1:f100)+sumi f('sheet2!'D1:D100="X",'shee
t2!'f1:f100)+sumif('sheet3!'D1:D100="X",'sheet3!'f 1:f100)+sumif('sheet4!'D1:D1
00="X",'sheet4!'f1:f100)+.....sumif('sheet10!'D1:D 100="X",'sheet10!'f1:f100).
Some times the sheets may go up to 50.

So I need a nested formula like
sumif(Sheet1:sheet10d1:d100="x",sheet1:sheet10f1:f 100)

If any body hae suggestions plz give me.

Thanks and Regards

Ramana

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Nesting of sumif formula.

Ramana,

Put your sheet names in a range, I use C1:C!0 in the example, you would need
a bigger range for 50, and use

=SUMPRODUCT(SUMIF(INDIRECT("'"&C1:C10&"'!D1:D100") ,"X",INDIRECT("'"&C1:C10&"
'!F1:F100")))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ramana" wrote in message
ups.com...
Hi everybody,

First of all I wish you all a very Happy and Prosperous new year
2006.

I have 10 work sheets, in the 11th sheet I want to sum a column based
on the column F value. I'm givivg you an example for this.

In 11th work sheet in column F I have this formula.


=sumif('sheet1!'D1:D100="X",'sheet1!'f1:f100)+sumi f('sheet2!'D1:D100="X",'sh
eet2!'f1:f100)+sumif('sheet3!'D1:D100="X",'sheet3! 'f1:f100)+sumif('sheet4!'D
1:D100="X",'sheet4!'f1:f100)+.....sumif('sheet10!' D1:D100="X",'sheet10!'f1:f
100).
Some times the sheets may go up to 50.

So I need a nested formula like
sumif(Sheet1:sheet10d1:d100="x",sheet1:sheet10f1:f 100)

If any body hae suggestions plz give me.

Thanks and Regards

Ramana



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
Getting Excel whilst using the sumif formula to search for part of a word Newbie81 Excel Discussion (Misc queries) 1 December 20th 05 01:56 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
formula (perhaps sumif?) redb Excel Discussion (Misc queries) 3 October 3rd 05 01:48 PM
Array Formula w/ Multiple SumIf Criteria Andy Excel Worksheet Functions 3 July 13th 05 08:56 PM
formula SUMIF or whichever one will work for my issue Richelle Excel Worksheet Functions 5 March 31st 05 11:01 PM


All times are GMT +1. The time now is 11:23 AM.

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

About Us

"It's about Microsoft Excel"