+ Reply to Thread
Results 1 to 8 of 8

Assigning value based upon number within a range. excel 2003

  1. #1
    Registered User
    Join Date
    08-05-2013
    Location
    United States, MO
    MS-Off Ver
    Excel 2003
    Posts
    11

    Assigning value based upon number within a range. excel 2003

    Greetings all,

    Glad to be able to seek the knowledge and wisdom of all the people who utilize this forum, so here we go.

    I have attached an small excel document with 2 sheets that provide examples of what I'm trying to achieve.


    Sheet 1:

    Given a number, I need a value to auto populate within a specified cell (positive or negative)


    Sheet 2:
    Given a number, I need a value to calculated and then auto populate within a specified cell .

    As you can see in the examples, there are multiple ranges that need to be in the criterias. I am unsure if there is some kind of compound IF statement, lookup or, something. Or, if this needs to be done in the Visual Basic Editor please advise, Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,650

    Re: Assigning value based upon number within a range. excel 2003

    =VLOOKUP(ABS(B10),$A$2:$C$8,3,1)

    Try this one
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  3. #3
    Registered User
    Join Date
    08-05-2013
    Location
    United States, MO
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Assigning value based upon number within a range. excel 2003

    Thank you, is this lookup in regards to sheet 1 or sheet 2?

  4. #4
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,650

    Re: Assigning value based upon number within a range. excel 2003

    If you had tried it you knew it:
    sheet1: =VLOOKUP(ABS(B10),$A$2:$C$8,3,1)
    sheet2: =ABS(VLOOKUP(B15,$A$2:$B$6,2,1))

  5. #5
    Registered User
    Join Date
    08-05-2013
    Location
    United States, MO
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Assigning value based upon number within a range. excel 2003

    popipipo,

    My apologies I jumped the gun when I asked that question I was in the middle of plugging in the formula. It worked as it should and I thank you for that. Now that I was able to plug in the formula I had one question.

    Sheet 1:

    Any value in the (.10) decimal place, positive or negative gives me a #NA message in the cell. I assume because of the ABS part within in the formula.

    - Is there anyway I can tweak the formula to take decimal values under 1?

  6. #6
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,650

    Re: Assigning value based upon number within a range. excel 2003

    What value you expect with a input of <1?

  7. #7
    Registered User
    Join Date
    08-05-2013
    Location
    United States, MO
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Assigning value based upon number within a range. excel 2003

    Now that I think about there wouldn't be an instance in which a value would be <1. I was just over analyzing scenarios on my part.

    Thank you so much for your assistance. any pointers or literature you reccommend for increasing my excel knowledge with formulas & functions?

  8. #8
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,650

    Re: Assigning value based upon number within a range. excel 2003

    Follow this forum and read a lot of these questions with there answers.

+ 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. Assigning specific value to a number range.
    By xceldummie in forum Excel General
    Replies: 3
    Last Post: 04-23-2012, 11:32 AM
  2. Assigning period and quarter based on date range. VBA
    By Lifeseeker in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-28-2011, 09:04 PM
  3. Replies: 5
    Last Post: 04-06-2010, 04:23 PM
  4. Replies: 2
    Last Post: 04-30-2009, 07:30 PM
  5. automatically assigning pivot based on unknown range?
    By AmyTaylor in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-08-2006, 04:04 AM

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