Results 1 to 3 of 3

Thread: [RESOLVED] Excel 2007: returning the value of the next cell

  1. #1

    Thread Starter
    Hyperactive Member Art W.'s Avatar
    Join Date
    Apr 2002
    Location
    In My Own Little World, But that’s OK because they know me there!
    Posts
    271

    Resolved [RESOLVED] Excel 2007: returning the value of the next cell

    Hello Everyone:

    I would like to know how to return the value of the next cell. I am using the following formula.

    =Julian!B2

    I want to use something like.

    =Julian!B2+1

    To return the value in cell C3 in the Julian worksheet. Now the value in B3 is 9 and C3 has a value of 8. If I use the above formula I get the values of 9 and 10.

    I would also like to know how to return the value of “” if the cell is blank, I have done that but cannot remember how I did it?

    I am using Excel 2007

    Thanks
    Art
    SLEEP: A Totally Inadequate Substation For Caffeine!

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Excel 2007: returning the value of the next cell

    To get the value of a different cell like that, use the Offset function, eg:
    Code:
    =OFFSET(Julian!B2, 0, 1)
    If you need to ensure that blank is displayed as blank (even if you have set the cell format to Number), use the If function, eg:
    Code:
    =If(OFFSET(Julian!B2, 0, 1)="","",OFFSET(Julian!B2, 0, 1))

  3. #3

    Thread Starter
    Hyperactive Member Art W.'s Avatar
    Join Date
    Apr 2002
    Location
    In My Own Little World, But that’s OK because they know me there!
    Posts
    271

    Re: Excel 2007: returning the value of the next cell

    Hey Si The Geek:

    The last line is exactly what I was looking for

    Thanks for the excellent work.

    Art
    SLEEP: A Totally Inadequate Substation For Caffeine!

Posting Permissions

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



Click Here to Expand Forum to Full Width