trying to get day/month/year froamt while user enters year only

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to get the end user to enter the year in question and then have
the document return values in column A in dd/mmm/yyyy format and column B
in Day of week format for all days in that year
 
You would just use something like

=DATE(2006,1,ROW())

copied down, but I am not clear where the year number is stored, and when
the flip to column B happens.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Hi Radiooz,

Assuming that you have the year on A1,

on A2 you can use the formula =Date(a1,1,1) and it will return 01/Jan/aaaa.
on A3 the formula could be =A2+1
on A4 the formula could be =A3+1
etc...

Just format it as your convenience

for the B Column, =weekday(a2). format it as "ddd" for Sun or "dddd" for
Sunday.

hope it heps.
regards from Brazil
Marcelo




"RADIOOZ" escreveu:
 
Thanks Marcelo
just what I wanted

Marcelo said:
Hi Radiooz,

Assuming that you have the year on A1,

on A2 you can use the formula =Date(a1,1,1) and it will return 01/Jan/aaaa.
on A3 the formula could be =A2+1
on A4 the formula could be =A3+1
etc...

Just format it as your convenience

for the B Column, =weekday(a2). format it as "ddd" for Sun or "dddd" for
Sunday.

hope it heps.
regards from Brazil
Marcelo




"RADIOOZ" escreveu:
 
Back
Top