Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Checking cells are = and return a value

Hi dose any one know how to ckeck if two or more cells are true and then
return a value e.g if one cell = 10 and another cell =20 then return a value
of another cell or what ever it needs to be
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Checking cells are = and return a value

Say your two cells are A1 and A2. And you want to bring back the value of A3 if
A1=10 and A2=20. But you want to bring back a value from A4 if at least one of
them is different (a1 different from 10 or a2 different from 20):

=if(and(a1=10,a2=20),a3,a4)

You could even show text:
=if(and(a1=10,a2=20),a3,"A1 and A2 are not what they should be!")

You may want to provide more details if this doesn't help.

nev1956 wrote:

Hi dose any one know how to ckeck if two or more cells are true and then
return a value e.g if one cell = 10 and another cell =20 then return a value
of another cell or what ever it needs to be


--

Dave Peterson
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
Spell Checking with checking cell notes jfitzpat Excel Discussion (Misc queries) 0 August 8th 07 10:26 PM
Checking cells for 2 conditions Mary Lancaster Excel Worksheet Functions 3 July 21st 07 11:34 PM
Checking the Cells in Sheet1 with Cells in Sheet2 and replace Checking the cells in Sheet1 with Sheet2 Excel Worksheet Functions 1 August 19th 06 09:29 AM
Checking Blank Cells Karlos Excel Worksheet Functions 2 February 27th 06 12:34 PM
Checking that any cells are null RFJ Excel Worksheet Functions 5 June 21st 05 01:21 PM


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