+ Reply to Thread
Results 1 to 4 of 4

#VALUE! Error

  1. #1
    Registered User
    Join Date
    11-28-2007
    Posts
    7

    #VALUE! Error

    Hi!

    I am trying to use this formula:
    =SUM('S:\GeoTility\STAFF TIME SHEETS\Time Logs\[December 2007.xls]Total'!B256:B257)+('[January 2008.xls]Total'!$B$256:$B$257)

    And no matter how I try and referance the other total sheet, it comes up #VALUE! ......

    Can anyone help me?!

    Thanks so much.....
    Amy
    Last edited by VBA Noob; 01-08-2008 at 05:12 PM.

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Value error

    Hi

    The problem is that you are trying to add two ranges and place the result into a single cell. You can add single values but not ranges with the + operand.

    If for example you wish to add B256 to B256 on the second sheet and B257 to B257 on the second sheet then you would need two formulas one in each cell to achieve it.

    Regards

    Jeff

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229
    =SUM('[December 2007.xls]Total'!B256:B257 , '[January 2008.xls]Total'!$B$256:$B$257)

    SUM will work on discountious ranges even across workbooks. A comma is the separater for SUM
    The workbooks need to be open.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Registered User
    Join Date
    11-28-2007
    Posts
    7

    Smile #VALUE! Error

    Thank you!

    I didn't understand why -- now I do!

    Thanks so much for your help!

    Cheers,

    Amy

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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