=IF(OR(DAY(B4)<=DAY($O$1),(K4=0)),"DUE","")
O1 = the current date.
how can i make the following function have 2 statments eg,
if the day b4 is less than or equal to O1 then return "due", however if k4 = 0 the it will be blank. they need to be two seperate functions.
do i need to if statements?
You mean?
=IF(K4=0,"",IF(DAY(B4)<=DAY($O$1),"DUE")
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
I could be misunderstanding something, but I don't think using the Day function will work. It will return an incorrect answer when the current day is the 31st and the due date is the first of the next month.
You mean?
=IF(K4=0,"",IF(DAY(B4)<=DAY($O$1),"DUE")
Great thanks works,
But when the due date is not due it responds with a result FALSE, how can i make it blank when the due date is not due.
Add the condition:
=IF(K4=0,"",IF(DAY(B4)<=DAY($O$1),"DUE","")
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
Great Works,
Thanks for your help...
You may be able to help with the following,
I have a field that you enter an amount once someone has paid, i also have another field where once that amount has been paid it is deducted from the total owed.
example if £550 is owed and £300 is paid then the balance remaining is £250.
what i need is in the field where you enter how much is paid, i need this field to let me enter an amount in there and then once it enters it calculates and saves the amount but leaves the field blank again so i can enter another amount in there example the remaining £250 can be entered leaving the total to £0.
Can you help, i know it sounds a bit funny but thats the best way i could explain.
Thanks in Advance.
Last edited by jay1983; 10-26-2009 at 01:07 PM.
Just take the Day part off: =IF(K4=0,"",IF(B4<=$O$1,"DUE","").
As for your other question, I'm afraid I can't help with that. It would require VBA and I'm still no good at that. I'm sure NBVC or someone else could whip that up for you easily, though.
In one field is the day eg 20 or 27 etc.
and the day today is 20-10-2009.
I would need the field to promt due when it is the 20th.
and if the 20 occurs over several months i still need it to promt untill paid.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks