+ Reply to Thread
Results 1 to 10 of 10

Make a cell value = the furthest value to the right

  1. #1
    Registered User
    Join Date
    09-28-2008
    Location
    Brisbane
    Posts
    3

    Make a cell value = the furthest value to the right

    How do I make a cell value update to equal the furthest value to the right in the same row?

    This cell just needs to look along the right in its own row and grab the value furthest away to the right. It will be a letter value, not a number. eg, AB or AC or AD or AE. It will not (in this case) need to look further than about 150 columns or cells.

    Thanks.

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    formula in A6,
    Assume there is no empty cells


    Please Login or Register  to view this content.
    I need your support to add reputations if my solution works.


  3. #3
    Registered User
    Join Date
    09-28-2008
    Location
    Brisbane
    Posts
    3
    thanks heaps for the prompt reply.

    There are empty cells.

    The document is a transmittal register for CAD drawings and not every drawing is transmitted on every occasion. The Cell in question must recall the latest revision number.

    <edit> sglife, I tried your formula - it is a ripper. It works perfectly if there are no empty cells. Unfortunately there are empty cells in this case.
    Last edited by Lucien; 09-29-2008 at 12:29 AM. Reason: more information

  4. #4
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    Maybe you should use VBA.
    Alt + F11
    Insert > Modules
    Paste the following code
    Please Login or Register  to view this content.
    Save.
    Then you can use the formula of =rightmost(A1:F1) eg.

  5. #5
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Make a cell value = the furthest value to the right

    How about this one:
    Please Login or Register  to view this content.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  6. #6
    Registered User
    Join Date
    09-28-2008
    Location
    Brisbane
    Posts
    3
    WOOT!!!!

    Thanks you heaps.

    I used sglife's VBA macro and it works a treat. I look forward to trying rwgrietvelds formula as perhaps it is worth keeping the spreadsheet non macro enabled..... and I tend to follow the KISS rule wherever possible.
    (Keep It Simple, Stupid)

    This is so far beyond what I was expecting that it is nearly more than I was hoping for!!!!

    Thanks again. Unbelievable

  7. #7
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    This formula should return the lest text or number in a row
    =LOOKUP(2,1/(1:1<>""),1:1)

  8. #8
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Make a cell value = the furthest value to the right

    Arthur,
    I was trying to use the lookup, but could not make it stick. I like the way of "dividing" to simplify this function.

  9. #9
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Do you mean it didn't work?

  10. #10
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    re: Make a cell value = the furthest value to the right

    Yours works. Mine didn't. Therefore I came up with a different solution.

+ 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. How can I make a cell blank if another cell is blank?
    By cheesysocks in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-26-2008, 11:50 AM
  2. cell referenceing
    By demuro1 in forum Excel General
    Replies: 8
    Last Post: 09-26-2008, 04:10 AM
  3. Replies: 6
    Last Post: 07-08-2008, 08:25 AM
  4. read cell content and use with Hyperlinks.Add Cell
    By apoc [t.i.m.] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2007, 10:02 AM
  5. Is there a Way to Make Cell unselectable?
    By iluvtorrent in forum Excel General
    Replies: 2
    Last Post: 02-20-2007, 01:34 PM

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