+ Reply to Thread
Results 1 to 7 of 7

auto - time n% depend on the value of column

  1. #1
    Registered User
    Join Date
    04-20-2006
    Posts
    43

    Thumbs up auto - time n% depend on the value of column

    how to set the auto *(times) N% at column B, when the value of the column A.

    example:

    column A column B (result)
    100 100 * 1%
    500 500 * 5%
    700 700 * 7%
    200 200 * 2%
    50 50 * 0%

    0 - 99 = 0%
    100 - 199 = 1%
    200 - 299 = 2%
    ...

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    Try

    =A1*INT(A1/100)/100

    rylo

  3. #3
    Registered User
    Join Date
    04-20-2006
    Posts
    43
    Quote Originally Posted by rylo
    Hi

    Try

    =A1*INT(A1/100)/100

    rylo
    thx a lot!

    if the value is below, what is the formula can i do?
    0 - 399 = 4%
    400 - 799 = 7%
    800 - 1599 = 15%....

  4. #4
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Selina

    Depending on how many variations you have, I'd go down the track of using VLOOKUP and building a lookup table.


    rylo

  5. #5
    Registered User
    Join Date
    04-20-2006
    Posts
    43
    Quote Originally Posted by rylo
    Selina

    Depending on how many variations you have, I'd go down the track of using VLOOKUP and building a lookup table.


    rylo
    rylo
    i don know how to do with this formula (vlookup) and how to set the table for it.

    can you show me step by step or any example to show me, because i'm not good in excel .

    thx

    Selina

  6. #6
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    vlookup is the way to go

    If you have in e2:f4
    0 4%
    400 7%
    800 15%

    in cell b1
    =vlookup(a1,$e$2:$f$4,2)

    this can then be copied down

    regards

    Dav

  7. #7
    Registered User
    Join Date
    04-20-2006
    Posts
    43
    Quote Originally Posted by Dav
    vlookup is the way to go

    If you have in e2:f4
    0 4%
    400 7%
    800 15%

    in cell b1
    =vlookup(a1,$e$2:$f$4,2)

    this can then be copied down

    regards

    Dav
    Dav
    Thanks for your help, i still have some problem to ask.

    =VLOOKUP(I2,A2:B40,2)

    if i did not key in anything at I2, it will display #N/A, can i change it to blank when i did not key in any amount the column I2?

    i understand I2 and A2:B40 but what is the meaning for 2?
    Last edited by SelinaT; 01-26-2007 at 04:27 AM.

+ 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