ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Search a value basing on another value (https://www.excelbanter.com/excel-discussion-misc-queries/188440-search-value-basing-another-value.html)

TUNGANA KURMA RAJU

Search a value basing on another value
 
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.

jlclyde

Search a value basing on another value
 
On May 21, 9:37*pm, TUNGANA KURMA RAJU
wrote:
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())=M ONTH(B21)),"Paid","Payment
Due")

Hope this helps,
Jay

TUNGANA KURMA RAJU

Search a value basing on another value
 
Mr.jlclyde,
Col"b" is a numeric value,not a date.please read my question thoroughly.
yuor formula is entirely wrong.

"jlclyde" wrote:

On May 21, 9:37 pm, TUNGANA KURMA RAJU
wrote:
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())=M ONTH(B21)),"Paid","Payment
Due")

Hope this helps,
Jay


Pete_UK

Search a value basing on another value
 
Try this in C2:

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

Copy down as appropriate.

Hope this helps.

Pete

On May 22, 3:37*am, TUNGANA KURMA RAJU
wrote:
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.



TUNGANA KURMA RAJU

Search a value basing on another value
 
thanks pete.its working fine

"Pete_UK" wrote:

Try this in C2:

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

Copy down as appropriate.

Hope this helps.

Pete

On May 22, 3:37 am, TUNGANA KURMA RAJU
wrote:
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.





All times are GMT +1. The time now is 04:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com