Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How LOOK UP and SUM the values from several spreadsheets in one.

I have 3 Spreadsheets with lots of itens and some of them diferent between
them. I need to look up and resume in one, the sum of the values for the some
item.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default How LOOK UP and SUM the values from several spreadsheets in one.

The below will sum the item orange present in Column A of
sheet1,sheet2,Sheet3 ; the values of which are present in Column B. Try and
feedback

In cell C2 = "orange"

=SUMPRODUCT(SUMIF(INDIRECT("'"& {"sheet1","sheet2","Sheet3"}
&"'!A:A"),C2,INDIRECT("'"& {"sheet1","sheet2","Sheet3"} &"'!B:B")))

PS: The above formula can further be shortened..if the sheetnames can be
typed in to a cell range..Or if the sheetnames are named in a sequencial way.

If this post helps click Yes
---------------
Jacob Skaria


"ant_chaves" wrote:

I have 3 Spreadsheets with lots of itens and some of them diferent between
them. I need to look up and resume in one, the sum of the values for the some
item.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How LOOK UP and SUM the values from several spreadsheets in one.

=SUMPRODUCT(SUMIF(INDIRECT("'"& {"sheet1","sheet2","Sheet3"}
&"'!A:A"),C2,INDIRECT("'"& {"sheet1","sheet2","Sheet3"} &"'!B:B")))
The above formula can further be shortened..
if the sheetnames are named in a sequencial way.


Sheet1, Sheet2, Sheet3 fall into the sequential naming convention.

=SUMPRODUCT(SUMIF(INDIRECT("'"&"sheet"&{1,2,3}&"'! A:A"),C2,INDIRECT("'"&"sheet"&{1,2,3}&"'!B:B")))

If you had 100 sheets you wouldn't want to do this:

{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15....100}

=SUMPRODUCT(SUMIF(INDIRECT("'"&"sheet"&ROW(INDIREC T("1:100"))
&"'!A:A"),C2,INDIRECT("'"&"sheet"&ROW(INDIRECT("1: 100"))&"'!B:B")))

--
Biff
Microsoft Excel MVP


"Jacob Skaria" wrote in message
...
The below will sum the item orange present in Column A of
sheet1,sheet2,Sheet3 ; the values of which are present in Column B. Try
and
feedback

In cell C2 = "orange"

=SUMPRODUCT(SUMIF(INDIRECT("'"& {"sheet1","sheet2","Sheet3"}
&"'!A:A"),C2,INDIRECT("'"& {"sheet1","sheet2","Sheet3"} &"'!B:B")))

PS: The above formula can further be shortened..if the sheetnames can be
typed in to a cell range..Or if the sheetnames are named in a sequencial
way.

If this post helps click Yes
---------------
Jacob Skaria


"ant_chaves" wrote:

I have 3 Spreadsheets with lots of itens and some of them diferent
between
them. I need to look up and resume in one, the sum of the values for the
some
item.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default How LOOK UP and SUM the values from several spreadsheets in on

Thanks Biff. Dont you think it is a easier to make some understand this way
first. Especially to someone new and then go with the refined/shorter
version...


"T. Valko" wrote:

=SUMPRODUCT(SUMIF(INDIRECT("'"& {"sheet1","sheet2","Sheet3"}
&"'!A:A"),C2,INDIRECT("'"& {"sheet1","sheet2","Sheet3"} &"'!B:B")))
The above formula can further be shortened..
if the sheetnames are named in a sequencial way.


Sheet1, Sheet2, Sheet3 fall into the sequential naming convention.

=SUMPRODUCT(SUMIF(INDIRECT("'"&"sheet"&{1,2,3}&"'! A:A"),C2,INDIRECT("'"&"sheet"&{1,2,3}&"'!B:B")))

If you had 100 sheets you wouldn't want to do this:

{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15....100}

=SUMPRODUCT(SUMIF(INDIRECT("'"&"sheet"&ROW(INDIREC T("1:100"))
&"'!A:A"),C2,INDIRECT("'"&"sheet"&ROW(INDIRECT("1: 100"))&"'!B:B")))

--
Biff
Microsoft Excel MVP


"Jacob Skaria" wrote in message
...
The below will sum the item orange present in Column A of
sheet1,sheet2,Sheet3 ; the values of which are present in Column B. Try
and
feedback

In cell C2 = "orange"

=SUMPRODUCT(SUMIF(INDIRECT("'"& {"sheet1","sheet2","Sheet3"}
&"'!A:A"),C2,INDIRECT("'"& {"sheet1","sheet2","Sheet3"} &"'!B:B")))

PS: The above formula can further be shortened..if the sheetnames can be
typed in to a cell range..Or if the sheetnames are named in a sequencial
way.

If this post helps click Yes
---------------
Jacob Skaria


"ant_chaves" wrote:

I have 3 Spreadsheets with lots of itens and some of them diferent
between
them. I need to look up and resume in one, the sum of the values for the
some
item.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How LOOK UP and SUM the values from several spreadsheets in on

Dont you think it is a easier to make some understand this way

I don't think the average user would understand either version without a
detailed explanation of how it works and what all the syntax means.

Very few responders include an explanation unless asked to do so.
Personally, I love to explain how things work. Just do a search on my name
and the string "exp101".

--
Biff
Microsoft Excel MVP


"Jacob Skaria" wrote in message
...
Thanks Biff. Dont you think it is a easier to make some understand this
way
first. Especially to someone new and then go with the refined/shorter
version...


"T. Valko" wrote:

=SUMPRODUCT(SUMIF(INDIRECT("'"& {"sheet1","sheet2","Sheet3"}
&"'!A:A"),C2,INDIRECT("'"& {"sheet1","sheet2","Sheet3"} &"'!B:B")))
The above formula can further be shortened..
if the sheetnames are named in a sequencial way.


Sheet1, Sheet2, Sheet3 fall into the sequential naming convention.

=SUMPRODUCT(SUMIF(INDIRECT("'"&"sheet"&{1,2,3}&"'! A:A"),C2,INDIRECT("'"&"sheet"&{1,2,3}&"'!B:B")))

If you had 100 sheets you wouldn't want to do this:

{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15....100}

=SUMPRODUCT(SUMIF(INDIRECT("'"&"sheet"&ROW(INDIREC T("1:100"))
&"'!A:A"),C2,INDIRECT("'"&"sheet"&ROW(INDIRECT("1: 100"))&"'!B:B")))

--
Biff
Microsoft Excel MVP


"Jacob Skaria" wrote in message
...
The below will sum the item orange present in Column A of
sheet1,sheet2,Sheet3 ; the values of which are present in Column B. Try
and
feedback

In cell C2 = "orange"

=SUMPRODUCT(SUMIF(INDIRECT("'"& {"sheet1","sheet2","Sheet3"}
&"'!A:A"),C2,INDIRECT("'"& {"sheet1","sheet2","Sheet3"} &"'!B:B")))

PS: The above formula can further be shortened..if the sheetnames can
be
typed in to a cell range..Or if the sheetnames are named in a
sequencial
way.

If this post helps click Yes
---------------
Jacob Skaria


"ant_chaves" wrote:

I have 3 Spreadsheets with lots of itens and some of them diferent
between
them. I need to look up and resume in one, the sum of the values for
the
some
item.






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
Printing spreadsheets with values entered (group) jerminski73 Excel Discussion (Misc queries) 0 April 26th 07 07:40 PM
Values in spreadsheets do not update Sandy at the Chrome Excel Worksheet Functions 5 July 11th 06 02:37 PM
Comparing values of two spreadsheets fastfrank Excel Discussion (Misc queries) 2 February 9th 06 08:06 PM
Crossreferencing values between 2 spreadsheets wolfsburg2 Excel Worksheet Functions 9 December 23rd 05 09:41 PM
Incorrect SUM Values in Excel Spreadsheets Julie Watson Excel Worksheet Functions 2 January 4th 05 01:08 PM


All times are GMT +1. The time now is 04:21 AM.

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"