+ Reply to Thread
Results 1 to 4 of 4

Is using RIGHt function best to fins values?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    02-25-2008
    Posts
    101

    Is using RIGHt function best to fins values?

    Hiya,

    I have a table where the user can insert "<10" as the column headers. The 10 is an example, the value can whatever the user wants. for example the column headers could be:

    , A, B, C, D, E,
    1 <6, <11, <16, <21, <26
    2 (hidden row)
    3 (data)

    then I have a hidden row underneath, that finds the value they have entered. A2 contains:
    =RIGHT($A$1,LEN($A$1)-FIND("<",$A$2))
    This means row 2 will then say: 6, 11, 16, 21, 26.

    I thought this would be okay to then use this hidden row as the column headers for formulas in other cells (e.g. vlookup), but it doesn't seem to work. I'm guessing that using the RIGHT formula above doesn't make it a value. In which case, is there a better function I can use to find the value entered into row 1?

    Thanks
    (My apologies, I couldn't think of a better thread title)

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    I'm not sure I understand the question exactly, but does this work?

    =RIGHT($A$1,LEN($A$1)-FIND("<",$A$2))*1
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Contributor
    Join Date
    02-25-2008
    Posts
    101
    Hiya,

    Yes, sorry I couldn't explain it very well. But your suggestion did work. Thank you

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Glad to hear it - thanks for the feedback

+ 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