+ Reply to Thread
Results 1 to 4 of 4

Help with formula to auto add a fixed number

  1. #1
    Registered User
    Join Date
    01-20-2012
    Location
    Yok, England
    MS-Off Ver
    Office 365
    Posts
    85

    Help with formula to auto add a fixed number

    Below is a simple table. I've highlighted the yellow cell C2. Basically I'm struggling to find a formula that automatically adds the number 75 to the total cell F2 if any number above 0.00 is input into cell C2.

    Relatively simple for you guys but not me I'm afraid. The cell F2 must also add A2, B2 and D2 in addition to C2 and 75.

    If nothing is input in cell C2 then only A2, B2 and D2 will be the answer.

    (Apologies if the title of my thread is inaccurate but you don't know what you don't know, so to speak)
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Help with formula to auto add a fixed number

    Hi Dougie.

    Cell c2, d2 and f2 are blank and out of your data boarders... I believe you need to mention correct cells. Thanks.

    regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    01-20-2012
    Location
    Yok, England
    MS-Off Ver
    Office 365
    Posts
    85

    Re: Help with formula to auto add a fixed number

    My apologies, got it totally wrong DILIPandey. Here we go again...

    Below is a simple table. I've highlighted the yellow cell B4. Basically I'm struggling to find a formula that automatically adds the number 75 to the total cell in B7 if any number above 0.00 is input into cell B4.

    Relatively simple for you guys but not me I'm afraid. The cell B7 must also add B2, B3 and B5 in addition to B4 (and of course 75).

    If nothing is input in cell B4 then only B2, B3 and B5 should be the answer.

    (Apologies if the title of my thread is inaccurate but you don't know what you don't know, so to speak)
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Help with formula to auto add a fixed number

    Hi.

    Try this in B7

    =IF(B4="";SUM(B2:B5);IF(B4<>"";SUM(B2:B5)+75))

    Does it helps you?
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

+ 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