+ Reply to Thread
Results 1 to 7 of 7

Simple formula help

  1. #1
    Vasant Nanavati
    Guest

    Re: Simple formula help

    Look at Help for VLOOKUP.

    ------

    Vasant

    "zero" <[email protected]> wrote in message
    news:%[email protected]...
    > Hi
    >
    > I need a simple fórmula that takes a value from a cell (A1 would be fine)
    > and put a value to other Cell (A2 it's ok) considering what this number
    > is,
    > and then assigning a value from this table:
    >
    > messages value
    > 10000 10
    > 5000 10
    > 4000 9
    > 3000 9
    > 2500 9
    > 2000 8
    > 1500 7
    > 1200 6
    > 1000 5
    > 800 5
    > 600 4
    > 400 3
    > 300 3
    > 200 2
    > 100 1
    > 50 1
    > 0 0
    >
    >
    > IE: if the A1 cell value is 5500 messages, A2 should be 10
    > If A1 cell value is 3500 messages, A2 should be 9 and so on.
    >
    > How can I do that?
    >
    >




  2. #2
    CLR
    Guest

    Re: Simple formula help

    Put your table in range G1:H17, and reverse it to be ascending rather than
    decending,
    Then in A2 put this formula

    =VLOOKUP(A1,G1:H18,2,TRUE)

    Vaya con Dios,
    Chuck, CABGx3



    "zero" <[email protected]> wrote in message
    news:#[email protected]...
    > Hi
    >
    > I need a simple fórmula that takes a value from a cell (A1 would be fine)
    > and put a value to other Cell (A2 it's ok) considering what this number

    is,
    > and then assigning a value from this table:
    >
    > messages value
    > 10000 10
    > 5000 10
    > 4000 9
    > 3000 9
    > 2500 9
    > 2000 8
    > 1500 7
    > 1200 6
    > 1000 5
    > 800 5
    > 600 4
    > 400 3
    > 300 3
    > 200 2
    > 100 1
    > 50 1
    > 0 0
    >
    >
    > IE: if the A1 cell value is 5500 messages, A2 should be 10
    > If A1 cell value is 3500 messages, A2 should be 9 and so on.
    >
    > How can I do that?
    >
    >




  3. #3
    Vasant Nanavati
    Guest

    Re: Simple formula help

    Look at Help for VLOOKUP.

    ------

    Vasant

    "zero" <[email protected]> wrote in message
    news:%[email protected]...
    > Hi
    >
    > I need a simple fórmula that takes a value from a cell (A1 would be fine)
    > and put a value to other Cell (A2 it's ok) considering what this number
    > is,
    > and then assigning a value from this table:
    >
    > messages value
    > 10000 10
    > 5000 10
    > 4000 9
    > 3000 9
    > 2500 9
    > 2000 8
    > 1500 7
    > 1200 6
    > 1000 5
    > 800 5
    > 600 4
    > 400 3
    > 300 3
    > 200 2
    > 100 1
    > 50 1
    > 0 0
    >
    >
    > IE: if the A1 cell value is 5500 messages, A2 should be 10
    > If A1 cell value is 3500 messages, A2 should be 9 and so on.
    >
    > How can I do that?
    >
    >




  4. #4
    CLR
    Guest

    Re: Simple formula help

    Put your table in range G1:H17, and reverse it to be ascending rather than
    decending,
    Then in A2 put this formula

    =VLOOKUP(A1,G1:H18,2,TRUE)

    Vaya con Dios,
    Chuck, CABGx3



    "zero" <[email protected]> wrote in message
    news:#[email protected]...
    > Hi
    >
    > I need a simple fórmula that takes a value from a cell (A1 would be fine)
    > and put a value to other Cell (A2 it's ok) considering what this number

    is,
    > and then assigning a value from this table:
    >
    > messages value
    > 10000 10
    > 5000 10
    > 4000 9
    > 3000 9
    > 2500 9
    > 2000 8
    > 1500 7
    > 1200 6
    > 1000 5
    > 800 5
    > 600 4
    > 400 3
    > 300 3
    > 200 2
    > 100 1
    > 50 1
    > 0 0
    >
    >
    > IE: if the A1 cell value is 5500 messages, A2 should be 10
    > If A1 cell value is 3500 messages, A2 should be 9 and so on.
    >
    > How can I do that?
    >
    >




  5. #5
    zero
    Guest

    Simple formula help

    Hi

    I need a simple fórmula that takes a value from a cell (A1 would be fine)
    and put a value to other Cell (A2 it's ok) considering what this number is,
    and then assigning a value from this table:

    messages value
    10000 10
    5000 10
    4000 9
    3000 9
    2500 9
    2000 8
    1500 7
    1200 6
    1000 5
    800 5
    600 4
    400 3
    300 3
    200 2
    100 1
    50 1
    0 0


    IE: if the A1 cell value is 5500 messages, A2 should be 10
    If A1 cell value is 3500 messages, A2 should be 9 and so on.

    How can I do that?



  6. #6
    Vasant Nanavati
    Guest

    Re: Simple formula help

    Look at Help for VLOOKUP.

    ------

    Vasant

    "zero" <[email protected]> wrote in message
    news:%[email protected]...
    > Hi
    >
    > I need a simple fórmula that takes a value from a cell (A1 would be fine)
    > and put a value to other Cell (A2 it's ok) considering what this number
    > is,
    > and then assigning a value from this table:
    >
    > messages value
    > 10000 10
    > 5000 10
    > 4000 9
    > 3000 9
    > 2500 9
    > 2000 8
    > 1500 7
    > 1200 6
    > 1000 5
    > 800 5
    > 600 4
    > 400 3
    > 300 3
    > 200 2
    > 100 1
    > 50 1
    > 0 0
    >
    >
    > IE: if the A1 cell value is 5500 messages, A2 should be 10
    > If A1 cell value is 3500 messages, A2 should be 9 and so on.
    >
    > How can I do that?
    >
    >




  7. #7
    CLR
    Guest

    Re: Simple formula help

    Put your table in range G1:H17, and reverse it to be ascending rather than
    decending,
    Then in A2 put this formula

    =VLOOKUP(A1,G1:H18,2,TRUE)

    Vaya con Dios,
    Chuck, CABGx3



    "zero" <[email protected]> wrote in message
    news:#[email protected]...
    > Hi
    >
    > I need a simple fórmula that takes a value from a cell (A1 would be fine)
    > and put a value to other Cell (A2 it's ok) considering what this number

    is,
    > and then assigning a value from this table:
    >
    > messages value
    > 10000 10
    > 5000 10
    > 4000 9
    > 3000 9
    > 2500 9
    > 2000 8
    > 1500 7
    > 1200 6
    > 1000 5
    > 800 5
    > 600 4
    > 400 3
    > 300 3
    > 200 2
    > 100 1
    > 50 1
    > 0 0
    >
    >
    > IE: if the A1 cell value is 5500 messages, A2 should be 10
    > If A1 cell value is 3500 messages, A2 should be 9 and so on.
    >
    > How can I do that?
    >
    >




+ 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