Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default check data from different cells

Ok, new try.

I have to check data from different cells in different columns at the same
time in one €œif€ formula with several €œif€ conditions?
How can I compare them?
Ex:
A1=0 B1=12 D1=11 E1=0
A2=34 B2=56 D2=0 E2=0
A3=78 B3=0 D3=0 E3=22
A4=0 B4=0 D4=0 E4=0
Help with this would be greatly appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default check data from different cells

I have to check data from different cells in different columns at the
same time in one "if" formula with several "if" conditions?
How can I compare them?
Ex:
A1=0 B1=12 D1=11 E1=0
A2=34 B2=56 D2=0 E2=0
A3=78 B3=0 D3=0 E3=22
A4=0 B4=0 D4=0 E4=0


I'm not quite sure what's intended.

If the test is "one of the four sets of must hold," then maybe something
like this would work:
=OR(AND(A1=0,B1=12,D1=11,E1=0),
AND(A2=34,B2=56,D2=0,E2=0),
AND(A3=78,B3=0,D3=0,E3=22),
AND(A4=0,B4=0,D4=0,E4=0))

If the test is to identify which of the four are violated, then maybe this:
="Errors: "&
IF(AND(A1=0,B1=12,D1=11,E1=0),"","1 ")&
IF(AND(A2=34,B2=56,D2=0,E2=0),"","2 ")&
IF(AND(A3=78,B3=0,D3=0,E3=22),"","3 ")&
IF(AND(A4=0,B4=0,D4=0,E4=0) ,"","4 ")

Or maybe the test is something different.
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
Check 3 cells, only one of the cells my be filled Peter Jonkers Excel Worksheet Functions 7 July 13th 09 01:39 PM
How to check previous cells for same data and return Y/N Emily Excel Worksheet Functions 12 August 1st 08 09:54 PM
check certain cells for data before saving file Anthony Excel Worksheet Functions 5 July 3rd 08 02:52 PM
check value into cells Maileen Excel Discussion (Misc queries) 2 December 7th 04 04:45 PM
Need formula to check values of data in several cells as criteria VCTECH Excel Worksheet Functions 0 November 19th 04 09:54 PM


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