formula needed please

J

jackrobyn1

is there a formula i can put in cell C1 that will put the word "York" and
todays date whatever that happens to be on the day, i only want it to do this
if there is a number greater than 0 in cell A1.

In other words if A1 is 0 then i want C1 to be blank.
If A1 = anything larger than 0 then C1 should read "York" + todays date

thanks
 
B

Bernard Liengme

Here you are: =IF(A1,"York " & TEXT(TODAY(),"dd/mm/yyyy"),"")
No need for =IF(A1>0, .... since Excel treats any non-zero value as TRUE
You can change the date format to suit your needs; I assumed York to be
York in Yorkshire UK
best wishes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

need formula returning a blank cell 4
Help to create a macro 2
Excel Need Countifs Formula Help 0
help with formula 1
Subtraction of 2 numbers/cells 3
Satisfying several criteria 4
Formula help please 9
if then formula 2

Top