+ Reply to Thread
Results 1 to 7 of 7

Assign # of days to a number in a cell

  1. #1
    Registered User
    Join Date
    03-20-2015
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    21

    Assign # of days to a number in a cell

    Hi
    I have created a spreadsheet to keep track of patient follow-up dates based on a radiologist's interpretation of test results. The Radiologist's recommendation is represented by a category: ,1,2,3, 4A. I want to assign each category a number of days (signifying days until follow up). 1=365, 2=365, 3=180, and 4A=90.
    Any help would be greatly appreciated.
    Thank you

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Assign # of days to a number in a cell

    Maybe like this? the lookup table can be hidden, or put on another sheet, etc.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    03-20-2015
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    21

    Re: Assign # of days to a number in a cell

    Thank you,
    I think that should work, only I cant seem to make it work. Here is what I have:LUNG SCREENING.xlsx

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Assign # of days to a number in a cell

    Maybe without any table at all

    =INDEX({365,365,180,90},MATCH(C2,{1,2,3,"4A"}))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    03-20-2015
    Location
    Buffalo, NY
    MS-Off Ver
    2010
    Posts
    21

    Re: Assign # of days to a number in a cell

    Thank you so much, I am all set now!

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Assign # of days to a number in a cell

    Modified and working...
    Attached Files Attached Files

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Assign # of days to a number in a cell

    Thanks for the Rep!!

+ 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. [SOLVED] Assign a number to a cell
    By MATU70 in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 10-09-2014, 09:25 AM
  2. Calculate number of days between 2 dates & then assign a number based on the answer
    By MrHappyGoLucky12 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-27-2014, 09:20 PM
  3. Replies: 3
    Last Post: 08-13-2012, 01:03 AM
  4. how to assign days into next cell ?
    By VICTOR5 in forum Excel General
    Replies: 2
    Last Post: 09-16-2010, 02:24 AM
  5. Replies: 7
    Last Post: 12-18-2008, 07:34 PM

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