Search a value basing on another value

  • Thread starter Thread starter TUNGANA KURMA RAJU
  • Start date Start date
T

TUNGANA KURMA RAJU

Col 'A' = Date
Col 'B' = Amount
I am looking for a function for: Search if there is current month's date
entry in Col'A', if found search for any entry in Col'B' of same row.If both
conditions are true "Paid" else "Payment Due".
Thanks to all Excel experts in advance.
 
Col 'A' = Date
Col 'B' = Amount
I am looking for a function for: Search if there is current month's date
entry in Col'A', if found search for any entry in Col'B' of same row.If both
conditions are true "Paid" else "Payment Due".
Thanks to all Excel experts in advance.

If you are looking for an actul search then you will ahve to do this
by putting in a little code. If not you can copy this into a
worksheet and it should give you the answer.
=IF(AND(MONTH(A21)=MONTH(TODAY()),MONTH(TODAY())=MONTH(B21)),"Paid","Payment
Due")

Hope this helps,
Jay
 
Mr.jlclyde,
Col"b" is a numeric value,not a date.please read my question thoroughly.
yuor formula is entirely wrong.
 
Try this in C2:

=IF(AND(A2<>"",MONTH(A2)=MONTH(TODAY())),IF(B2<>"","Paid","Payment
Due"),"")

Copy down as appropriate.

Hope this helps.

Pete
 
thanks pete.its working fine

Pete_UK said:
Try this in C2:

=IF(AND(A2<>"",MONTH(A2)=MONTH(TODAY())),IF(B2<>"","Paid","Payment
Due"),"")

Copy down as appropriate.

Hope this helps.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top