#1   Report Post  
Svea
 
Posts: n/a
Default IF FORMULA need help


Please, I am trying really hard to work this out, but still I couldn't
come to result I want.

This is the example (invoices - paid, not paid...)

column A..................... column B...................... column C
DUE DATE....................PAID ON........................COMMENT
10.11.05.....................07.11.05............. ...........paid, on
time
15.11.05.....................20.11.05............. ...........paid,
late
20.11.05...................(empty cell)......................not paid,
late
04.12.05...................(empty cell)......................not paid,
not late

So, you see, I can have 4 situations. In column C I tried to write out
these 4 comments, depending of date writen in column B, with help of IF
formula. I succed to get something, but when I tried to make few IFs one
after another I always got mistake in formula.

I understand that I have to compare if cells in column B are empty or
not. If they are not empty, customer surely paid - maybe on time, maybe
not - depending if date in column B is after or before date in column A.
Still, if the cell in column B is empty than surely didn't pay, still
the question is - is the invoice in due date or not.

I think that for expert this is something very simple. So I kindly ask
you to help me with correct formula.

Thank you so much!


--
Svea
------------------------------------------------------------------------
Svea's Profile: http://www.excelforum.com/member.php...o&userid=28151
View this thread: http://www.excelforum.com/showthread...hreadid=480746

  #2   Report Post  
Svea
 
Posts: n/a
Default IF FORMULA need help


Look! I succeed to do it... but I think this formula looks to
complicated! Don't you think?

=IF(B2="";"not paid, ";IF(B2A2;"paid, late";"paid on
time"))&IF(B2="";IF(A2TODAY();"late";"not late");"")

For me... it works and I am happy that I did it!

Anyway, I would appreciate shorter version!


--
Svea
------------------------------------------------------------------------
Svea's Profile: http://www.excelforum.com/member.php...o&userid=28151
View this thread: http://www.excelforum.com/showthread...hreadid=480746

  #3   Report Post  
David McRitchie
 
Posts: n/a
Default IF FORMULA need help

You solution works, it's just as good as anything else, you have
to do several comparisons. Your concatenation is perhaps
unique but it shows an understanding of how solutions are built
up on other solutions (like programming).

=IF(B2="", IF(A2<TODAY(),"past due","billed, not paid"),
IF(A2<B2, "paid late", "paid on time"))
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Svea" wrote in message
...

Look! I succeed to do it... but I think this formula looks to
complicated! Don't you think?

=IF(B2="";"not paid, ";IF(B2A2;"paid, late";"paid on
time"))&IF(B2="";IF(A2TODAY();"late";"not late");"")

For me... it works and I am happy that I did it!

Anyway, I would appreciate shorter version!


--
Svea
------------------------------------------------------------------------
Svea's Profile: http://www.excelforum.com/member.php...o&userid=28151
View this thread: http://www.excelforum.com/showthread...hreadid=480746




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF formula? meris Excel Worksheet Functions 1 September 6th 05 07:14 AM
writing a formula for a colored value aaronwexler New Users to Excel 11 September 1st 05 03:11 PM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 03:53 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"