Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
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. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
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. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
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. |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
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. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2003 - Simple IF() Formula Will Not Work For Me | Excel Worksheet Functions | |||
Why won't this simple VBA script work in excel 2002? | Excel Discussion (Misc queries) | |||
simple deletion won't work for me | Excel Discussion (Misc queries) | |||
Simple but I can't get it to work? PLEASE help!! | Excel Discussion (Misc queries) | |||
Why wont this simple formula work | Excel Discussion (Misc queries) |