ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   assigning # to day (https://www.excelbanter.com/excel-worksheet-functions/162535-assigning-day.html)

bmo

assigning # to day
 
is there a formula where I can assign a number to the day of the week.

for instance; if I input "wednesday" can it return "3"?

I want to go a step beyond that and have it return columns "3,14,31 & 54"
but that is detail minor.

Thanks,
Blake

Alan

assigning # to day
 
Have a look at the WEEKDAY function in Help,
Regards,
Alan.
"bmo" wrote in message
...
is there a formula where I can assign a number to the day of the week.

for instance; if I input "wednesday" can it return "3"?

I want to go a step beyond that and have it return columns "3,14,31 & 54"
but that is detail minor.

Thanks,
Blake



Bob Phillips

assigning # to day
 
=MATCH(A1,{"Monday","Tuesday","Wednesday","Thursda y","Friday","Saturday","Sunday"},0)

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"bmo" wrote in message
...
is there a formula where I can assign a number to the day of the week.

for instance; if I input "wednesday" can it return "3"?

I want to go a step beyond that and have it return columns "3,14,31 & 54"
but that is detail minor.

Thanks,
Blake




Alan

assigning # to day
 
Sorry, misread the question,
Apologies,
Alan.
"Alan" wrote in message
...
Have a look at the WEEKDAY function in Help,
Regards,
Alan.
"bmo" wrote in message
...
is there a formula where I can assign a number to the day of the week.

for instance; if I input "wednesday" can it return "3"?

I want to go a step beyond that and have it return columns "3,14,31 & 54"
but that is detail minor.

Thanks,
Blake





All times are GMT +1. The time now is 11:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com