+ Reply to Thread
Results 1 to 5 of 5

I need a formula to calculate Q4-R4 if R4 is not blank, if R4 is blank than show Q4?

  1. #1
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    I need a formula to calculate Q4-R4 if R4 is not blank, if R4 is blank than show Q4?

    I need a formula to calculate Q4-R4 if R4 is not blank, if R4 is blank than show Q4?

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: I need a formula to calculate Q4-R4 if R4 is not blank, if R4 is blank than show Q4?

    Try
    =IF(R4="",Q4,Q4-R4)

  3. #3
    Forum Contributor
    Join Date
    07-09-2018
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    257

    Re: I need a formula to calculate Q4-R4 if R4 is not blank, if R4 is blank than show Q4?

    The formula worked,
    Thank you

  4. #4
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: I need a formula to calculate Q4-R4 if R4 is not blank, if R4 is blank than show Q4?

    Another way:

    =Q4-N(R4)

    The N() function returns zero if R4 is empty or R4 appears blank because its value is the null string ("") or any other text.

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: I need a formula to calculate Q4-R4 if R4 is not blank, if R4 is blank than show Q4?

    Quote Originally Posted by Mr.Castle View Post
    The formula worked,
    Thank you
    You're welcome

+ 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] Dragging formula to add two columns, but need to show blank when other cell is blank
    By doesntexist in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-05-2018, 11:18 PM
  2. [SOLVED] Formula to show blank if two cells are blank
    By adrenom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-09-2016, 05:10 PM
  3. [SOLVED] Reference cell formula returning 0 when BLANK, need BLANK to show
    By williamc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-31-2016, 04:23 PM
  4. [SOLVED] can month number helper column show blank if the corresponding date is blank.
    By jojo101 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-28-2015, 09:59 PM
  5. Averaging with a blank cell, needs to show blank calculation
    By Pstreicher in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-20-2015, 08:08 AM
  6. Replies: 3
    Last Post: 03-03-2014, 12:34 PM
  7. Replies: 1
    Last Post: 09-23-2010, 01:24 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