LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default HELP! Please!

Indeed you have.

The first IF resolves completely, as you have both TRUE and FALSE actions,
so you cannot have another IF after this. A second IF should go in place of
either the TRUE or FALSE action.

Maybe this

=IF(NOT(ISERROR(MATCH(A1,ValidData,0))),"IIBD
ACC",IF(NOT(ISERROR(MATCH(A1,ValidData2,0))),"IIB D PD","invalid cause
code"))

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"DCM84 " wrote in message
...
Hi, I kno this is not a programming query but im a beginner with MS
Excel and cant work out why this formula isnt workin! Here goes:

=IF(NOT(ISERROR(MATCH(A1,ValidData,0))),"IIBD ACC","INVALID CAUSE OR PD
CODE"),IF(NOT(ISERROR(MATCH(A1,ValidData2,0))),"II BD PD","invalid cause
code")

ValidData is cells H1:H4
ValidData2 is cells I1:I4

this is essentially two IF Statments combined so maybe ive done it
wrong?

Id be really really greatful if anyone can help

Thanx loads,
DCM84


---
Message posted from http://www.ExcelForum.com/



 
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



All times are GMT +1. The time now is 08:12 PM.

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

About Us

"It's about Microsoft Excel"