Weekday formula problems

jrschaef

New Member
Joined
May 29, 2003
Messages
12
I have entered a formula and it works fine in my excel sheet that I have saved, but when I send it out to others through email and they open the sheet the formula gives the a #NAME error. Why would this be and what do I need to solve this?

The formula is

=Weekday(Today(),-1)
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
This formula returns a #NUM error on my PC because the -1 is not a valid return type. Are you sure it works on your PC?
 
Upvote 0
I tried your formula on my system using Excel 97. The -1 parameter doesn't work on 97. You can set it to 1,2,3,4 but they return a value, not text. I would sugget you use one of those values, and then vlookup a day value from a table. This should get around any version difference problems.

Hope this helps.
 
Upvote 0
Is it possible that the Today() function is fairly new? I've always used the Now() function for dates (even though it does give time) mainly because I didn't know about the Today() function. Maybe convert yours to Now() and test?

Others may have a better slant on this...

K
 
Upvote 0
kkknie said:
Is it possible that the Today() function is fairly new? I've always used the Now() function for dates (even though it does give time) mainly because I didn't know about the Today() function. Maybe convert yours to Now() and test?

Others may have a better slant on this...

K

One of the incredible habits, using NOW() while one is only interested in todays's date. I don't think TODAY() is something new.
 
Upvote 0
Isn't WEEKDAY from the add-in Analysis Toolpak?

So if it's not setup on the other PC's you would get #NAME

HTH
texasalynn
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top