+ Reply to Thread
Results 1 to 2 of 2

Reverse cell referencing/relativity

  1. #1
    Registered User
    Join Date
    07-20-2011
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    15

    Reverse cell referencing/relativity

    In sheet 1, I have a list of things in col A, rows 1-20. In sheet 2, I have a formula in cell A1 that says basically "IF('Sheet 1'!$A1="val",5,0)". However, on sheet 2 I have reversed the references so that B1 would ask "IF('Sheet 1'!$A2="val",5,0)", and C1 would ask "IF('Sheet 1'!$A3="val",5,0)", etc. However, when I click-drag that formula from A1 to T1, I need it to increment the row number, not the column letter. Basically, I need it to behave as if I'm dragging the formula from A1 to A20, except horizontally from A1 to T1. Is there any way to do that?

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Reverse cell referencing/relativity

    If in Sheet2 cell A1 you enter:

    =INDIRECT("Sheet1!A" & COLUMN()) and copy across

    You will have the same effect as entering:

    =Sheet1!A1 in A1
    =Sheet1!A2 in B1
    =Sheet1!A3 in C1
    etc.

    As you copy across, the reference goes downwards.

    Is this of any help??
    Gary's Student

+ 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