+ Reply to Thread
Results 1 to 3 of 3

Random Figure Output Function

  1. #1
    Registered User
    Join Date
    05-30-2008
    Posts
    1

    Random Figure Output Function

    I am trying to put medicare costs for certain treatments into a function in excel. I want to set it up so that if I put the code for a treatment in one code the amount that Medicare pays for that treatment shows up in another column. Because there is no Mathematical formula for determining how much is paid (randomly picked by legislators), I don't know how to write a formula for it. Is there a way to set up a chart with corresponding values such that if I put in one value in B2, C2 always gives me the corresponding value? I saw that the logic formulas permit this on a rudimentary level, but I want to put in about 100 codes and have 100 related responses, so that I am not tirelessly looking up each value each and every time......Thanks for your help

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Yes, Have a look at the Vlookup function in Excel Help... it will do exactly what you want once you set up a lookup table.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    You'll need to use VLOOKUP. For example, create your list on Sheet2 from A2:B100 and in C2
    Please Login or Register  to view this content.
    Here's more explaination on VLOOKUPs
    http://www.contextures.com/xlFunctions02.html

    ChemistB

+ 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