+ Reply to Thread
Results 1 to 17 of 17

3-D reference fails

  1. #1
    Registered User
    Join Date
    01-22-2013
    Location
    Kl, Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    35

    3-D reference fails

    Dear professionals,

    I have worksheets named: Jan15, Feb15 and Mar15

    and I want to sum a specific cell (A1) across these worksheets using =SUM(Jan15:Mar15!A1)

    but it doesn't work as excel read Jan15 as a cell reference.

    How do you solve this problem without changing the worksheet name?


    Warmest regards,
    Eric

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: 3-D reference fails

    Does it work with the single quote marks included?
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    BSB

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: 3-D reference fails

    Works OK for me:

    =SUM(Jan15:Mar15!A1)

    Quote Originally Posted by Ericng View Post
    but it doesn't work as excel read Jan15 as a cell reference.
    Not sure what that means?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: 3-D reference fails

    Quote Originally Posted by Tony Valko View Post
    Not sure what that means?
    I think what it means is there is a cell with the reference JAN15. As there would be with MAR15.

    BSB

  5. #5
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: 3-D reference fails

    Quote Originally Posted by Tony Valko View Post
    Works OK for me:

    =SUM(Jan15:Mar15!A1)


    Not sure what that means?
    Fails for me on 2010 without the additional single apostrophes. JAN15 is indeed a valid cell reference.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  6. #6
    Registered User
    Join Date
    01-22-2013
    Location
    Kl, Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: 3-D reference fails

    I tried the single quote but doesnt work too.

    I wrote it this way: =sum('Jan15':'Dec15'!A1) correct me if I am wrong.

    Jan15 is a form of like A1 in my excel 2015.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: 3-D reference fails

    OK, I see. I first tested in Excel 2002 (my default version) which works but I just tested in Excel 2010 which didn't work.

    Excel thinks JAN15 is a cell reference.

    Either change the sheet names so there's no confusion or add the ' as suggested.

  8. #8
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: 3-D reference fails

    Quote Originally Posted by Ericng View Post
    I tried the single quote but doesnt work too.

    I wrote it this way: =sum('Jan15':'Dec15'!A1) correct me if I am wrong.

    Jan15 is a form of like A1 in my excel 2015.
    Try it like this...

    =SUM('Jan15:Dec15'!A1)

  9. #9
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: 3-D reference fails

    Once change the sheets name ( first and last) - Try something like sheet1- sheet10 for applying the formula =sum(sheet1:sheet10!A1). If the formula get working then change the sheet name as Jan15 - Mar15.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  10. #10
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: 3-D reference fails

    Quote Originally Posted by Tony Valko View Post
    OK, I see. I first tested in Excel 2002 (my default version) which works
    Is this because that version didn't go as far as column JAN, then?

    Regards

  11. #11
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: 3-D reference fails

    Yes.

    I use Excel 2002 as my default version as it has many custom toolbars.

  12. #12
    Registered User
    Join Date
    01-22-2013
    Location
    Kl, Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: 3-D reference fails

    Thanks Tony Valko for helping you solved my problem.

    Thanks XOR LX for helping me to further clarify my question.

    Another question will be:

    Since the cell A1 will be changing often because of inserting row or column in each worksheets (assuming I consistently change insert new number of row across all worksheet),

    How do formulate it without having to change cell manually each time.

  13. #13
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: 3-D reference fails

    Providing you make any row/column insertions in all relevant sheets simultaneously (i.e. when all sheets are grouped), then the 3D reference will update appropriately.

    Regards

  14. #14
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: 3-D reference fails

    Quote Originally Posted by Ericng View Post
    Thanks Tony Valko for helping you solved my problem.
    Don't forget BadlySpelledBuoy!

  15. #15
    Registered User
    Join Date
    01-22-2013
    Location
    Kl, Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: 3-D reference fails

    Thanks BadlySpelledBouy! Sorry didnt mention you.

    @XOR LX: I tried but it fixed at A1.

  16. #16
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: 3-D reference fails

    No problem. You're not the first and I doubt you'll be the last...

    In order for XOR LX's suggestion to work you have to insert the row on ALL relevant sheets at the same time. Activate the Jan15 sheet, hold shift then click on the Dec15 sheet tab at the bottom of the screen. You should see all sheets between these two have no changed colour where you have them all selected at once.
    NOW insert the new column and the formula should update as necessary.

    BSB

  17. #17
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: 3-D reference fails

    Quote Originally Posted by Ericng View Post
    Thanks BadlySpelledBouy! Sorry didnt mention you.

    @XOR LX: I tried but it fixed at A1.
    Can you tell me precisely how you "tried"? Do you know what I meant by "grouped"?

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Message Box Fails to Appear
    By rpokorny in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2015, 04:04 PM
  2. Plotting # of Fails on Y1 axis and % of Fails on the Y2 axis
    By welchs101 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 11-01-2013, 08:47 AM
  3. [SOLVED] Unusual #N/A error - One cell reference works, another fails!
    By mhroberts in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-09-2013, 12:40 AM
  4. LoadXML Fails
    By wburkett in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-03-2012, 06:23 PM
  5. DAY-Function fails
    By johntrav2004 in forum Excel General
    Replies: 11
    Last Post: 01-03-2011, 07:19 PM
  6. =R[-1]C fails
    By Astro Tom in forum Excel General
    Replies: 2
    Last Post: 04-26-2006, 10:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1