Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bonita
 
Posts: n/a
Default Worksheet references another tab in formula

Worksheet contains Tabs: report and one for each month.
In the report tab Cell A2 contains the 3 letter month.
Cell a2 is named "month".
Formula in cell A4 needs to be the total of widgets for
the month in cell A2.
How do you reference the month in cell A2 in a formula to
bring the totals from that tab to the report cell A4,ie.
the formula in A4 changes to whatever month is in A2?
A1 A2 A3 A4
Month= JUL Total= =sumif(Monthtab!
A2:A10,"Widgets",Monthtab!B2:B10)

Thanks....
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

Try:

=SUMIF(INDIRECT("'"&A2&"'!A2:A10"),"Widgets",INDIR ECT
("'"&A2&"'!B2:B10"))

HTH
Jason
Atlanta, GA

-----Original Message-----
Worksheet contains Tabs: report and one for each month.
In the report tab Cell A2 contains the 3 letter month.
Cell a2 is named "month".
Formula in cell A4 needs to be the total of widgets for
the month in cell A2.
How do you reference the month in cell A2 in a formula

to
bring the totals from that tab to the report cell A4,ie.
the formula in A4 changes to whatever month is in A2?
A1 A2 A3 A4
Month= JUL Total= =sumif(Monthtab!
A2:A10,"Widgets",Monthtab!B2:B10)

Thanks....
.

  #3   Report Post  
Bonita
 
Posts: n/a
Default

Thanks a million!!!!!!


-----Original Message-----
Try:

=SUMIF(INDIRECT("'"&A2&"'!A2:A10"),"Widgets",INDI RECT
("'"&A2&"'!B2:B10"))

HTH
Jason
Atlanta, GA

-----Original Message-----
Worksheet contains Tabs: report and one for each month.
In the report tab Cell A2 contains the 3 letter month.
Cell a2 is named "month".
Formula in cell A4 needs to be the total of widgets for
the month in cell A2.
How do you reference the month in cell A2 in a formula

to
bring the totals from that tab to the report cell A4,ie.
the formula in A4 changes to whatever month is in A2?
A1 A2 A3 A4
Month= JUL Total= =sumif(Monthtab!
A2:A10,"Widgets",Monthtab!B2:B10)

Thanks....
.

.

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
Howdo U copy a formula down a column, that uses data in another w. Need Help pasting a formula Excel Worksheet Functions 1 February 25th 05 06:04 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
Creating a formula that references other sheets WisconsinMike Excel Worksheet Functions 1 December 29th 04 05:50 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Can I use a formula to get the worksheet name into a cell? KellyB Excel Worksheet Functions 1 November 19th 04 06:57 PM


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