IF(ISBLANK Returns #VALUE!

MrDB4Excel

Active Member
Joined
Jan 29, 2004
Messages
348
Office Version
  1. 2013
Platform
  1. Windows
In this workbook, I have tried in vain to get cells to show nothing when there is no value in specific cells.
Cells A2 to A8 show a date while cells A9 to A11 are blank.
Cells C2 to C11 has the formula =IF(ISBLANK(A2),"",A2); obviously each successive row the row number changes, for example:
In cell C2 is =IF(ISBLANK(A2),"",A2) then in cell C3 is =IF(ISBLANK(A3),"",A3)…
Why then do cells B9 to B11 show #VALUE!

Conversations with RobJessee-RJ.xlsx
ABC
1DateYear
202/05/2022 15:20:17202202/05/2022 15:20:17
302/08/2022 18:52:29202202/08/2022 18:52:29
402/08/2022 19:45:46202202/08/2022 19:45:46
502/08/2022 19:31:58202202/08/2022 19:31:58
602/08/2022 19:48:35202202/08/2022 19:48:35
702/08/2022 19:52:11202202/08/2022 19:52:11
802/08/2022 19:53:18202202/08/2022 19:53:18
9#VALUE! 
10#VALUE! 
11#VALUE! 
BogusData
Cell Formulas
RangeFormula
B2:B11B2=YEAR(C2)
C2:C11C2=IF(ISBLANK(A2),"",A2)
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Upvote 0
Solution

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top