+ Reply to Thread
Results 1 to 5 of 5

Cell Calculates and displays according to formula

Hybrid View

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    Aberdeen
    MS-Off Ver
    Excel 2010
    Posts
    35

    Cell Calculates and displays according to formula

    Good Morning All, I am new to this site and would describe myself at a moderate user of Excel who still needs guidance and help.

    I have a spreadsheet that basically has 4 columns

    6 Month Service / 12 Month Service / Due Date / Type

    If I put a date in 6 Month I want due date to be 6 months Later - I have used this forumla =IF(ISBLANK(G10),"",SUM(G10+182)) it gives me the required date, this also works for 12 Month

    My problem is that I want the columns to work like this 6 Month has a date, 12 Month is left blank, Due date is populated then Type should show "6 monthly" the other option is 12 Month has a date, 6 Month is left blank, Due date is populated then type should show "12 monthly"

    To get the 6 Month date I use this formula - =IF(ISBLANK(A10),"",SUM(A10+182))
    To get the 12 Month date I use this formula - =IF(ISBLANK(A11),"",SUM(A11+360))

    I tried =IF(ISBLANK(A10),"",SUM(A10+182),IF(ISBLANK(A11),"",SUM(A11+360)))) but got an error

    Any Help would be appreciated

    Thanks
    Sandy

  2. #2
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: Cell Calculates and displays according to formula

    can u pls upload a sample workbook?

    I got confused in the formula and the requirement, both seems entirely different to me.
    Please make the Post as solved, when you get your answer & Click * if you like my suggestion

  3. #3
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Cell Calculates and displays according to formula

    Hi,

    Refer sample workbook attached..

    For Due date, the formula is

    =+IF(ISBLANK(A10),IF(ISBLANK(B10),"",SUM(B10+360)),SUM(A10+182))
    For Type, the formula is

    =+IF(ISBLANK(B10),"Half-Yearly","Yearly")

    Sarang

  4. #4
    Registered User
    Join Date
    05-28-2013
    Location
    Aberdeen
    MS-Off Ver
    Excel 2010
    Posts
    35

    Re: Cell Calculates and displays according to formula

    Saarang84, that is exactly what i needed Thank you very much, can i ask why put a + in the foruma, this is the first time I have seen this
    Last edited by wysbob; 04-28-2014 at 06:36 AM.

  5. #5
    Valued Forum Contributor Saarang84's Avatar
    Join Date
    02-19-2009
    Location
    Chennai, India
    MS-Off Ver
    XL 2003 to 2010
    Posts
    812

    Re: Cell Calculates and displays according to formula

    Hi Bob,

    If you find your requirement solved, then you can mark it as Solved against the thread name by choosing from the Thread tools menu which is found between your thread name and the first post you made.

+ 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. Need macro that calculates two formula but displays only one of them in column
    By jro4 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-07-2013, 11:32 AM
  2. Replies: 9
    Last Post: 06-07-2011, 11:34 AM
  3. a formula that calculates cell positions?
    By huy in forum Excel General
    Replies: 0
    Last Post: 07-14-2010, 06:50 PM
  4. Automatically calculates cell as formula
    By udaman55 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-08-2007, 09:03 AM
  5. Creating a formula that calculates a total cell
    By Growers in forum Excel General
    Replies: 4
    Last Post: 08-01-2006, 04:50 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