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 Sum of different value in different worksheet & cell number

I have multiple worksheet with different location of values(cell number in
different row) to sum up, but with one reference. Example;

I need to sum up the number of apples in one workbook:

1. worksheet (1) where it says 25 apples in row 100, column AJ
2. worksheet (2) where it says 100 apples in row 200, column AJ
3. worksheet (3) where it says 200 apples in row 300, column AJ

In one worksheet, there is a table of many fruits Banana, Pineapple,
strawberry, etc. that has also values at different rows. The table is
generated by our computer where it comes randomly as entered by the supplier.
Displacement is due to no entry on days where there is no delivery.

The only reference for apple to distinguish from other fruits is the name
"Apple" which is also positioned in a different row but on the table of
apples in the worksheet.

From the above example, it should give me a total of 325 apples for one
workbook.

Please help... Thanks - VL
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,522
Default Sum of different value in different worksheet & cell number

Maybe
Sub sumcolbinallsheets()
For i = 1 To Sheets.Count
ms = ms + Sheets(i).Cells(Rows.Count, 2).End(xlUp)
Next i
MsgBox ms
End Sub
If desired, send your file to my address below. I will only look if:
1. You send a copy of this message on an inserted sheet
2. You give me the newsgroup and the subject line
3. You send a clear explanation of what you want
4. You send before/after examples and expected results.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Values sum in Multuiple Worksheet/cell" <Values sum in Multuiple
wrote in message
...
I have multiple worksheet with different location of values(cell number in
different row) to sum up, but with one reference. Example;

I need to sum up the number of apples in one workbook:

1. worksheet (1) where it says 25 apples in row 100, column AJ
2. worksheet (2) where it says 100 apples in row 200, column AJ
3. worksheet (3) where it says 200 apples in row 300, column AJ

In one worksheet, there is a table of many fruits Banana, Pineapple,
strawberry, etc. that has also values at different rows. The table is
generated by our computer where it comes randomly as entered by the
supplier.
Displacement is due to no entry on days where there is no delivery.

The only reference for apple to distinguish from other fruits is the name
"Apple" which is also positioned in a different row but on the table of
apples in the worksheet.

From the above example, it should give me a total of 325 apples for one
workbook.

Please help... Thanks - VL


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 153
Default Sum of different value in different worksheet & cell number

On Jan 22, 3:25*am, Values sum in Multuiple Worksheet/cell <Values sum
in Multuiple wrote:
I have multiple worksheet with different location of values(cell number in
different row) to sum up, but with one reference. Example;

I need to sum up the number of apples in one workbook:

1. worksheet (1) where it says 25 apples in row 100, column AJ
2. worksheet (2) where it says 100 apples in row 200, column AJ
3. worksheet (3) where it says 200 apples in row 300, column AJ

In one worksheet, there is a table of many fruits Banana, Pineapple,
strawberry, etc. that has also values at different rows. The table is
generated by our computer where it comes randomly as entered by the supplier.
Displacement is due to no entry on days where there is no delivery.

The only reference for apple to distinguish from other fruits is the name
"Apple" which is also positioned in a different row but on the table of
apples in the worksheet.

From the above example, it should give me a total of 325 apples for one
workbook.

Please help... Thanks - VL


Not quite sure about the requirements, but it sounds like a job for
SUMIF.

Presumably, there's a column indicating the fruit for each row.
Suppose it's column A.

Then something like this might be useful:
=SUMIF(Sheet1!A:A,"Apple",Sheet1!AJ:AJ)+
SUMIF(Sheet2!A:A,"Apple",Sheet2!AJ:AJ)+
SUMIF(Sheet3!A:A,"Apple",Sheet3!AJ:AJ)
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
Grabbing a number from another cell on another worksheet thermocorp Excel Discussion (Misc queries) 2 December 10th 09 03:46 AM
Open a worksheet by refrencing a number in 1 cell HAD Excel Worksheet Functions 2 November 6th 09 06:54 AM
How to find same number in different cell of Worksheet? excel worksheets Excel Discussion (Misc queries) 1 November 18th 08 10:08 AM
Number of worksheet tabs as cell value? ie 4 work sheets = 4 cell value [email protected] Excel Discussion (Misc queries) 2 November 22nd 05 05:17 PM
finding a particular cell in another worksheet whose row number ch Andrew Excel Discussion (Misc queries) 1 September 12th 05 01:36 PM


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