+ Reply to Thread
Results 1 to 8 of 8

assign a value to a range

  1. #1
    Registered User
    Join Date
    12-20-2004
    Posts
    88

    assign a value to a range

    I'm trying to assign a percent value associated with a dollar value within a range.
    How would I write this formula?

    EXAMPLE:

    LOCATI0N
    B1 IF A1 = OR > $10.00, 5%,0
    B2 IF A1 < $10.00 AND = OR > $9.00, 4%,0
    B3 IF A1 < $9.00 AND = OR > $8.00, 3%,0

    Help appreciated.
    TRAVELERSWAY

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    one way:

    B1: =IF(A1>10,5%,IF(A1>9,4%,IF(A1>8,3%,0)))

    Good luck.
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Registered User
    Join Date
    12-20-2004
    Posts
    88
    Thank You Bruce! You always come through!
    Travelersway

  4. #4
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    I'm glad it worked for you. Thanks for the feedback, it is always appreciated.

    Cheers!

  5. #5
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    Bruce's formula doesn't account for the part of your original request for values that equal 10, 9 or 8.

    The formula to cover that would be:

    =IF(A1>=10,5%,IF(A1>=9,4%,IF(A1>=8,3%,0)))

  6. #6
    Registered User
    Join Date
    12-20-2004
    Posts
    88
    Thanks Cutter.

    Travelersway

  7. #7
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Thanks, Cutter. I missed the part of the OPs request that stated '='...

    Good catch.

    Cheers.

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    Glad to help.

+ 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