 SOLVED

# calculate number of days if cell is empty. Hello greetings ! I have an excel with 4 columns, in the first column the identification of the quote is recorded, the second column identifies the date the person received the quote by mail, the third column should be the date the person processed the quote , and in column 4 what I want to do is that if the cell in column 3 is empty, in column 4 it shows the number of days that have passed until today without processing the quote, that is, if column 3 is empty it What I require is that you tell me how many days have passed, taking as a reference the start date that appears in column 2. Is it possible to do it? I tried and couldn't, if someone can help me that would be great.

5 Replies
best response confirmed by Jhonny97or (New Contributor)
Solution

# Re: calculate number of days if cell is empty.

@Jhonny97or Suppose we are looking at row 1, then the formula in D1 could be

``=IF(ISBLANK(C1),TODAY()-B1,"")``

# Re: calculate number of days if cell is empty.

Thank you very much, it was what I needed

# Re: calculate number of days if cell is empty.

@Riny_van_Eekelen  please can you tell me what the formula is used here, I cannot see it.

About 2 minutes into the video

Much appreciated.

# Re: calculate number of days if cell is empty.

@Prish_M Not sure why you ask, but at 2 minutes into the video the formulas uses structured table references that take the close date minus the open date in the current row of the table. The "current" row is indicated by the @ sign. # Re: calculate number of days if cell is empty.

Just saw you know a lil more about this than me ;-), I was struggling to see the formula on this youtube video. Thanks for the guide, appreciated.