1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Adressing in Excel

Discussion in 'Other PC Software' started by N Jeanes, 2012/11/03.

  1. 2012/11/03
    N Jeanes

    N Jeanes Inactive Thread Starter

    Joined:
    2010/02/08
    Messages:
    58
    Likes Received:
    0
    You may wonder why I am doing something this way, but I have a good reason. I’ve simplified a more complex structure to explain my query.
    Example spread sheet: https://dl.dropbox.com/u/89946151/Example.xlsx
    E1:E3 each contain a formula (=Bn).
    When I sort range A1:B3 or D1:E3 into another order the values in B1:B3 do not reflect the corresponding values in E1:E3.
    I need to be able to sort A1:B3 and D1:E3 into any order, at any time but still reflect the correct value next to each name.
    Any assistance would be appreciated.
     
  2. 2012/11/04
    SpywareDr

    SpywareDr SuperGeek WindowsBBS Team Member

    Joined:
    2005/12/31
    Messages:
    3,752
    Likes Received:
    338

  3. to hide this advert.

  4. 2012/11/04
    N Jeanes

    N Jeanes Inactive Thread Starter

    Joined:
    2010/02/08
    Messages:
    58
    Likes Received:
    0
    That doesn't help me when I sort E1:F3 then sort A1:B3.
    What I'm trying to do is have F1, F2 and F3 always referencing the cell on column B corresponding to the same name (Bill Smith, John Jones and Peter Pan) in column E.
     
  5. 2012/11/04
    SpywareDr

    SpywareDr SuperGeek WindowsBBS Team Member

    Joined:
    2005/12/31
    Messages:
    3,752
    Likes Received:
    338
  6. 2012/11/04
    N Jeanes

    N Jeanes Inactive Thread Starter

    Joined:
    2010/02/08
    Messages:
    58
    Likes Received:
    0
    I did - the only formulas are in E1, E2 and E3. B1, B2 and B3, contain entered values 1,2 and 3.
     
  7. 2012/11/04
    SpywareDr

    SpywareDr SuperGeek WindowsBBS Team Member

    Joined:
    2005/12/31
    Messages:
    3,752
    Likes Received:
    338
  8. 2012/11/04
    N Jeanes

    N Jeanes Inactive Thread Starter

    Joined:
    2010/02/08
    Messages:
    58
    Likes Received:
    0
    Sorry, sorry, sorry - by F1, F2 and F3 I meant E1, E2 and E3
     
  9. 2012/11/04
    SpywareDr

    SpywareDr SuperGeek WindowsBBS Team Member

    Joined:
    2005/12/31
    Messages:
    3,752
    Likes Received:
    338
  10. 2012/11/05
    psaulm119 Lifetime Subscription

    psaulm119 Geek Member

    Joined:
    2003/12/07
    Messages:
    1,424
    Likes Received:
    21
    If I understand you correctly (that is a big if), there are two ways you can accomplish what you want. (1) Select the entire range of the cells you want sorted (if you are working with the first group in your example, this would be A1 through B3). Then go to the Data ribbon, click on the Sort option, and then the left-hand option would be the A column. OK out and that should do it.

    (2) Alternately, simply select the column that you want to sort (A1-A3). Click on Sort, and Excel will tell you that there is data attached, do you want to expand the selection. Hit yes/ok, and Excel will sort your data based on column A, but keep the associated data in column B aligned as it was originally.

    Instructions are for Excel 2010. Not sure what E2007 offers, but it should be rather similar.
     
  11. 2012/11/06
    N Jeanes

    N Jeanes Inactive Thread Starter

    Joined:
    2010/02/08
    Messages:
    58
    Likes Received:
    0
    I certainly know how to sort, so sorting the data is not the problem - it's the end result of cells correctly referencing other cells after any combination of sorting that is a liitle perplexing.
    The previous post (5th November 2012, 10:25) I think helps me out (I should have thought of it myself - talk about missing the bleedin' obvious).
    As I said earlier my project is more complex than the example so I need to check it out to be sure it's doing what I need.
    Thanks anyway :)
     
  12. 2012/11/07
    SpywareDr

    SpywareDr SuperGeek WindowsBBS Team Member

    Joined:
    2005/12/31
    Messages:
    3,752
    Likes Received:
    338
    If the problem has been resolved ...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.