ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Searching and matching in sheet (urgent) (https://www.excelbanter.com/excel-worksheet-functions/109302-searching-matching-sheet-urgent.html)

[email protected]

Searching and matching in sheet (urgent)
 
Hello

I have the following problem .. and I can't find the way to solve it.

this is my screencapture of excel table:
http://www.fuchka.info/tmp/excelproblem.jpg

What I need is function that will:

A) check for occurence of N12 in columns N or Q or T
B) when found it should take the date from cell M5 and
C) subtract the date in cell B12 from date in cell M5
D) If result is zero or above it should write "VALID" to cell E12,
otherwise it should write "INVALID"

thanks for any help.


Nobody

Searching and matching in sheet (urgent)
 
=IF(AND(OR(N120,Q120,T120),(M5-B12)=0),"VALID","INVALID")

" wrote:

Hello

I have the following problem .. and I can't find the way to solve it.

this is my screencapture of excel table:
http://www.fuchka.info/tmp/excelproblem.jpg

What I need is function that will:

A) check for occurence of N12 in columns N or Q or T
B) when found it should take the date from cell M5 and
C) subtract the date in cell B12 from date in cell M5
D) If result is zero or above it should write "VALID" to cell E12,
otherwise it should write "INVALID"

thanks for any help.




All times are GMT +1. The time now is 02:37 PM.

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