DATE FORMAT

A

AG

Hi,

i got a cell that i want only the DAY to be shown in, like today its 9 of
october.
and i want to use this as a number ( 9 ) in equations.

when im trying here, it doesn't count it as a number so it gives ZERO all
time.

Help. Thanks.
 
N

Niek Otten

Format>Cells>Custom. In the Type box, enter (d)

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel
 
D

Dave Peterson

But just changing the format (Niek's suggestion showed (9) for me for today's
date) won't help you in your other calculations. The value of the cell is still
the date.

if you want to just use the day in another formula:

=day(a1)*182

would be one way.
 
A

AG

thanks a million. actually i used =DAY(A1)
without mult. by 182. it was enough, thanks again.
 

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

Top