+ Reply to Thread
Results 1 to 3 of 3

How do I code the spreadsheet for a follow-up chart? (See example)

  1. #1
    Registered User
    Join Date
    05-02-2013
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    12

    Question How do I code the spreadsheet for a follow-up chart? (See example)

    Hi all, I am trying to make a spreadsheet that has the following:

    | Col A | Col B | Column C | Column D | Column E | Column F |
    | Name | Identifier | Size of lesion (a,b,c) | Risk (high/low) | Date of service | Date of Follow-up |

    What I am looking for is if I put in:

    size a and low risk, date of f/u = None needed
    size a and high risk, date of f/u = <date of service + 365> (one year)
    size b and low risk, date of f/u = <DOS + 365>
    size b and high risk, date of f/u = <DOS + 180> to <DOS + 365>
    size c and low risk, date of f/u = <DOS + 180> to <DOS +365> AND <DOS + 545> to <DOS + 730>
    size c and high risk, date of f/u = <DOS + 90> to <DOS + 180> AND <DOS + 270> to <DOS + 365>

    I hope that makes sense and someone can help me out on this.
    Thanks,
    Criss (Sifubear)

  2. #2
    Registered User
    Join Date
    05-02-2013
    Location
    Salt Lake City, UT
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: How do I code the spreadsheet for a follow-up chart? (See example)

    I got the answer I needed on the Microsoft Forums. Thank you anyway!

    FYI:

    =IF(AND(C2="A",D2="Low"),"None needed",IF(OR(AND(C2="A",D2="High"),AND(C2="B",D2="Low")),TEXT(EDATE(E2,12),"dd-mmm-yy"),IF(OR(AND(C2="B",D2="High"),AND(C2="C",D2="Low")),TEXT(EDATE(E2,6),"dd-mmm-yy")&" to "&TEXT(EDATE(E2,12),"dd-mmm-yy")&IF(C2="C"," AND "&TEXT(EDATE(E2,18),"dd-mmm-yy")&" to "&TEXT(EDATE(E2,24),"dd-mmm-yy"),""),IF(AND(C2="C",D2="High"),TEXT(EDATE(E2,3),"dd-mmm-yy")&" to "&TEXT(EDATE(E2,6),"dd-mmm-yy")&" AND "&TEXT(EDATE(E2,9),"dd-mmm-yy")&" to "&TEXT(EDATE(E2,12),"dd-mmm-yy"),""))))


  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: How do I code the spreadsheet for a follow-up chart? (See example)

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    I will do it for you this time, though.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Follow Hyperlink Code
    By neetharao in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2012, 05:48 AM
  2. Referencing Input spreadsheet on follow in tables/sheets
    By Cafed.black in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-17-2012, 05:02 AM
  3. Excel 2007 : follow hyperlink code
    By treyxman in forum Excel General
    Replies: 1
    Last Post: 07-23-2010, 12:25 PM
  4. [SOLVED] follow up: the actual code
    By Sergei D in forum Excel General
    Replies: 0
    Last Post: 07-31-2006, 03:38 PM
  5. Help Me !!! (I want to create chart is follow)
    By robocon in forum Excel Charting & Pivots
    Replies: 9
    Last Post: 05-02-2006, 03:27 AM

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