#1   Report Post  
Pat
 
Posts: n/a
Default Add checking

{=IF(ISERROR(INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C7 7,P05!$BL$24:$BL$1000,0))),"",INDEX(P05!$AO$4:$AO$ 1000,MATCH(CC!$C77,P05!$BL$4:$BL$1000,0)))}

Once the above formula matches I want then to check if the corresponding
cell in P05!Y$24:Y$1000 contains a value. The value must be in the correct
cell to give a true result.

Can anyone help me with this?
Thanks
Pat


  #2   Report Post  
Max
 
Posts: n/a
Default

Not sure, but you could try something like:

=IF(ISNA(MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)),"" ,IF(INDEX('P05'!Y$4:Y$1000
,MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0))="Test1","Y es","No"))

(normal ENTER will do)

where the corresponding value to be checked
in the range*: 'P05'!Y$4:Y$1000
is "Test1"
when the match occurs in:
MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)

*corrected the range refs to read as "Y$4"
(instead of "Y$24" as posted)

The formula will return "Yes"
if the corresponding cell in 'P05'!Y$4:Y$1000
contains: "Test1" when the match occurs

If there is a match but the corresponding value is not "Test1",
"No" will be returned

If there isn't any match, blank: "" will be returned

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pat" wrote in message
...

{=IF(ISERROR(INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C7 7,P05!$BL$24:$BL$1000,0)))
,"",INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C77,P05!$BL $4:$BL$1000,0)))}

Once the above formula matches I want then to check if the corresponding
cell in P05!Y$24:Y$1000 contains a value. The value must be in the correct
cell to give a true result.

Can anyone help me with this?
Thanks
Pat




  #3   Report Post  
Pat
 
Posts: n/a
Default

Hi Max,
Not quite what I am looking for, the original code:

{=IF(ISERROR(INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C7 7,P05!$BL$24:$BL$1000,0))),"",INDEX(P05!$AO$4:$AO$ 1000,MATCH(CC!$C77,P05!$BL$4:$BL$1000,0)))}

will return a result from P05!$AO$4:$AO$1000, if a match is found. I still
want whatever value is found in P05!$AO$4:$AO$1000 returned, but only after
checking if P05!Y$4:Y$1000 has a value in the corresponding cell. If there
is no matching cell in the range P05!Y$4:Y$1000, return nothing.






"Max" wrote in message
...
Not sure, but you could try something like:

=IF(ISNA(MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)),"" ,IF(INDEX('P05'!Y$4:Y$1000
,MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0))="Test1","Y es","No"))

(normal ENTER will do)

where the corresponding value to be checked
in the range*: 'P05'!Y$4:Y$1000
is "Test1"
when the match occurs in:
MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)

*corrected the range refs to read as "Y$4"
(instead of "Y$24" as posted)

The formula will return "Yes"
if the corresponding cell in 'P05'!Y$4:Y$1000
contains: "Test1" when the match occurs

If there is a match but the corresponding value is not "Test1",
"No" will be returned

If there isn't any match, blank: "" will be returned

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pat" wrote in message
...

{=IF(ISERROR(INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C7 7,P05!$BL$24:$BL$1000,0)))
,"",INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C77,P05!$BL $4:$BL$1000,0)))}

Once the above formula matches I want then to check if the corresponding
cell in P05!Y$24:Y$1000 contains a value. The value must be in the
correct
cell to give a true result.

Can anyone help me with this?
Thanks
Pat






  #4   Report Post  
Max
 
Posts: n/a
Default

Maybe:

=IF(ISNA(MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)),"" ,IF(INDEX('P05'!Y$4:Y$1000
,MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0))="Test1",IN DEX('P05'!$AO$4:$AO$1000,M
ATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)),""))

(Normal ENTER)

which will return value found in 'P05'!$AO$4:$AO$1000
only if the corresponding cell in 'P05'!Y$4:Y$1000 = "Test1"

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pat" wrote in message
...
Hi Max,
Not quite what I am looking for, the original code:


{=IF(ISERROR(INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C7 7,P05!$BL$24:$BL$1000,0)))
,"",INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C77,P05!$BL $4:$BL$1000,0)))}

will return a result from P05!$AO$4:$AO$1000, if a match is found. I still
want whatever value is found in P05!$AO$4:$AO$1000 returned, but only

after
checking if P05!Y$4:Y$1000 has a value in the corresponding cell. If

there
is no matching cell in the range P05!Y$4:Y$1000, return nothing.






"Max" wrote in message
...
Not sure, but you could try something like:


=IF(ISNA(MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)),"" ,IF(INDEX('P05'!Y$4:Y$1000
,MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0))="Test1","Y es","No"))

(normal ENTER will do)

where the corresponding value to be checked
in the range*: 'P05'!Y$4:Y$1000
is "Test1"
when the match occurs in:
MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)

*corrected the range refs to read as "Y$4"
(instead of "Y$24" as posted)

The formula will return "Yes"
if the corresponding cell in 'P05'!Y$4:Y$1000
contains: "Test1" when the match occurs

If there is a match but the corresponding value is not "Test1",
"No" will be returned

If there isn't any match, blank: "" will be returned

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pat" wrote in message
...


{=IF(ISERROR(INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C7 7,P05!$BL$24:$BL$1000,0)))
,"",INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C77,P05!$BL $4:$BL$1000,0)))}

Once the above formula matches I want then to check if the

corresponding
cell in P05!Y$24:Y$1000 contains a value. The value must be in the
correct
cell to give a true result.

Can anyone help me with this?
Thanks
Pat








  #5   Report Post  
Pat
 
Posts: n/a
Default

I'm impressed, well done Max!

Cheers mate
Pat


"Max" wrote in message
...
Maybe:

=IF(ISNA(MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)),"" ,IF(INDEX('P05'!Y$4:Y$1000
,MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0))="Test1",IN DEX('P05'!$AO$4:$AO$1000,M
ATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)),""))

(Normal ENTER)

which will return value found in 'P05'!$AO$4:$AO$1000
only if the corresponding cell in 'P05'!Y$4:Y$1000 = "Test1"

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pat" wrote in message
...
Hi Max,
Not quite what I am looking for, the original code:


{=IF(ISERROR(INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C7 7,P05!$BL$24:$BL$1000,0)))
,"",INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C77,P05!$BL $4:$BL$1000,0)))}

will return a result from P05!$AO$4:$AO$1000, if a match is found. I
still
want whatever value is found in P05!$AO$4:$AO$1000 returned, but only

after
checking if P05!Y$4:Y$1000 has a value in the corresponding cell. If

there
is no matching cell in the range P05!Y$4:Y$1000, return nothing.






"Max" wrote in message
...
Not sure, but you could try something like:


=IF(ISNA(MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)),"" ,IF(INDEX('P05'!Y$4:Y$1000
,MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0))="Test1","Y es","No"))

(normal ENTER will do)

where the corresponding value to be checked
in the range*: 'P05'!Y$4:Y$1000
is "Test1"
when the match occurs in:
MATCH(CC!$C77,'P05'!$BL$4:$BL$1000,0)

*corrected the range refs to read as "Y$4"
(instead of "Y$24" as posted)

The formula will return "Yes"
if the corresponding cell in 'P05'!Y$4:Y$1000
contains: "Test1" when the match occurs

If there is a match but the corresponding value is not "Test1",
"No" will be returned

If there isn't any match, blank: "" will be returned

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pat" wrote in message
...


{=IF(ISERROR(INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C7 7,P05!$BL$24:$BL$1000,0)))
,"",INDEX(P05!$AO$4:$AO$1000,MATCH(CC!$C77,P05!$BL $4:$BL$1000,0)))}

Once the above formula matches I want then to check if the

corresponding
cell in P05!Y$24:Y$1000 contains a value. The value must be in the
correct
cell to give a true result.

Can anyone help me with this?
Thanks
Pat












  #6   Report Post  
Max
 
Posts: n/a
Default

You're welcome, Pat
Thanks for feedback !
--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Pat" wrote in message
...
I'm impressed, well done Max!

Cheers mate
Pat



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
Checking a net drive Leif Rasmussen Excel Discussion (Misc queries) 2 January 12th 05 01:36 AM
Why does spelling check close Excel when checking spanish? RCP Excel Discussion (Misc queries) 2 December 4th 04 07:37 PM
error checking reports a value in the formula is of the wrong dat. [email protected] Excel Worksheet Functions 2 November 7th 04 07:25 PM


All times are GMT +1. The time now is 10:44 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"