![]() |
So simple, but I can't get it to work
I need A1(formatted as a date) to equal the value in B2 which is also a date.
However, if B2 is blank, I also want A1 to remain blank, but it is currently always returning 1/0/00. I've tried everything I can think of but I can't get it to work! Thanks for your help. |
So simple, but I can't get it to work
You're getting a result of 0 rather than blank. In A1, try:
=if(b1="","",b1) Regards, Fred. "hmsawyer" wrote in message ... I need A1(formatted as a date) to equal the value in B2 which is also a date. However, if B2 is blank, I also want A1 to remain blank, but it is currently always returning 1/0/00. I've tried everything I can think of but I can't get it to work! Thanks for your help. |
So simple, but I can't get it to work
Maybe this
=IF(ISBLANK(B2)=TRUE,"",B2) "hmsawyer" wrote: I need A1(formatted as a date) to equal the value in B2 which is also a date. However, if B2 is blank, I also want A1 to remain blank, but it is currently always returning 1/0/00. I've tried everything I can think of but I can't get it to work! Thanks for your help. |
So simple, but I can't get it to work
Typo. Use =if(b2="","",b2)
Fred "Fred Smith" wrote in message ... You're getting a result of 0 rather than blank. In A1, try: =if(b1="","",b1) Regards, Fred. "hmsawyer" wrote in message ... I need A1(formatted as a date) to equal the value in B2 which is also a date. However, if B2 is blank, I also want A1 to remain blank, but it is currently always returning 1/0/00. I've tried everything I can think of but I can't get it to work! Thanks for your help. |
So simple, but I can't get it to work
You don't need the =TRUE
=IF(ISBLANK(B2),"",B2) would be enough. -- David Biddulph "Mike" wrote in message ... Maybe this =IF(ISBLANK(B2)=TRUE,"",B2) "hmsawyer" wrote: I need A1(formatted as a date) to equal the value in B2 which is also a date. However, if B2 is blank, I also want A1 to remain blank, but it is currently always returning 1/0/00. I've tried everything I can think of but I can't get it to work! Thanks for your help. |
All times are GMT +1. The time now is 02:42 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com