Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-17-2014, 07:05 AM
flextera flextera is offline Worksheet defined cell sums Windows 7 64bit Worksheet defined cell sums Office 2013
Novice
Worksheet defined cell sums
 
Join Date: Jun 2014
Posts: 3
flextera is on a distinguished road
Thumbs up Worksheet defined cell sums(SOLVED)

I have a summary sheet.



I have multiple sheets with info.

I want the user to be able to type in 2 worksheets in the summary sheet.
For example: Sheet1-Sheet7 and get the SUM of a certain cell between those two sheets they type.

I have attached exactly what I am looking for.
Attached Files
File Type: xlsx Help Me Workbook.xlsx (12.4 KB, 12 views)

Last edited by flextera; 06-17-2014 at 11:13 AM.
Reply With Quote
  #2  
Old 06-17-2014, 08:52 AM
whatsup whatsup is offline Worksheet defined cell sums Windows 7 64bit Worksheet defined cell sums Office 2010 32bit
Competent Performer
 
Join Date: May 2014
Posts: 137
whatsup will become famous soon enough
Default

Hi

You're quite close though cells A2:A4 in your example are empty which leaves you to a REf-error.
So the first thing to remember, if the range you refer to contains a reference which doesn't exist you will end up with the error!
Therefore just fill the names of the desired sheets, e.g.:
A2: Sheet1
A3: Sheet2
Change your formula to this range and it will do the trick.
Reply With Quote
  #3  
Old 06-17-2014, 08:54 AM
BobBridges's Avatar
BobBridges BobBridges is offline Worksheet defined cell sums Windows 7 64bit Worksheet defined cell sums Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

The syntax if you already knew the sheet names would be like this:
Code:
=SheetA!H2+SheetB!H2
Since you don't know the sheet names to plug in, you have to get them from C2 and C4, where the user put in the sheet names, and you have to construct a reference using the INDIRECT function, like this:
Code:
=INDIRECT(C2&"!H2")+INDIRECT(C4&"!H2")
The INDIRECT function takes a character string and interprets it as a cell reference, you see. Does this make sense to you?
Reply With Quote
  #4  
Old 06-17-2014, 11:12 AM
flextera flextera is offline Worksheet defined cell sums Windows 7 64bit Worksheet defined cell sums Office 2013
Novice
Worksheet defined cell sums
 
Join Date: Jun 2014
Posts: 3
flextera is on a distinguished road
Default

Thanks for the help you two!!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Worksheet defined cell sums getting the worksheet name in a cell derohanes Excel 9 02-14-2013 01:29 PM
Worksheet defined cell sums Help with SUMs in tables mhurford Word Tables 1 09-02-2012 03:06 AM
Worksheet defined cell sums Range.Information(wdStartOfRangeRowNumber): Application-defined or Object-defined err tinfanide Excel Programming 2 06-09-2012 10:19 AM
Worksheet defined cell sums Cell formating on Protected worksheet AHB Excel Programming 2 02-27-2012 10:25 AM
click a cell to go to a worksheet victor Excel 0 10-27-2006 02:57 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:46 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft