2003 from 2010 IF statements

willRM

New Member
Joined
Jun 29, 2015
Messages
12
I have worked on my home laptop and used the following statement: =IF(AND(MONTH(B42)=MONTH(TODAY());DAY(TODAY())-DAY(B42)<1);"Birthday";"No")

This is on 2010 and works, however the same on 2003 gives me an error.

any help?
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
just a thought but what are the regional settings on the 2003 machine?

you could try replacing the semicolons with colons to see if that works

=IF(AND(MONTH(B42)=MONTH(TODAY()),DAY(TODAY())-DAY(B42)<1),"Birthday","No")
 
Upvote 0
just a thought but what are the regional settings on the 2003 machine?

you could try replacing the semicolons with colons to see if that works

=IF(AND(MONTH(B42)=MONTH(TODAY()),DAY(TODAY())-DAY(B42)<1),"Birthday","No")


Yes i have replaced them. Still gives me this isssue? Sorry what do you mean with regional settings?
 
Upvote 0
the regional settings in the Windows control panel....
different countries have different regional settings that affect how Excel functions

What is the specific error you are getting in Excel with the formula?
 
Upvote 0
i cant recall. it is te general one that says it doesn't work then suggests to try and not use = or - etc
 
Upvote 0
it is a date exp: 12/06/15
Does your formula in the 2003 machine return an error in the cell like #VALUE! or #N/A? If yes, is B42 text? In some empty cell enter =ISNUMBER(B42) what do you get?
 
Upvote 0
Does your formula in the 2003 machine return an error in the cell like #VALUE! or #N/A? If yes, is B42 text? In some empty cell enter =ISNUMBER(B42) what do you get?

I did the ISNUMBER: gave me a ''TRUE'' return.

I have gone through the method again. seems to be working now. another question: If I want to imply that as a condiotnal format, i understand it gets typed in differently?
 
Upvote 0
Does your formula in the 2003 machine return an error in the cell like #VALUE! or #N/A? If yes, is B42 text? In some empty cell enter =ISNUMBER(B42) what do you get?

i am trying to get age using the following : =DATEDIF(K7,today(),''Y'')

it gives me this error: The formula you have typed contains an error???
 
Upvote 0

Forum statistics

Threads
1,216,119
Messages
6,128,946
Members
449,480
Latest member
yesitisasport

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