Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default How can i use If and or function

First, the

=IF(AND(E2=222,E2=212)...

formula won't work because E2 will NEVER be both 222 and 212.

Second, you need to enclose the last item (t) in quotes: "t"

In article . com,
dhir wrote:

Hi,
Well i am trying to develop a excel
the following are the data
232=t
323=t
333=t
313=t
233=s
213=s
332=s
312=s
222=u
212=u
223=e
322=e

I process the a large data with various result and final i get the
above result on last cell as 232 or say any above 322 or 223. Now i
want the final result in next cell if the previous cell shows 232 then
the result must be t or say the previous cell show 222 then the result
must be u.
I used this formula

=IF(OR(E2=222,E2=212),"u",IF(OR(E2=223,E2=322),"e" ,IF(OR(E2=312,E2=332,E2=213,
E2=233),"s",t )))
=IF(And(E2=222,E2=212),"u",IF(And(E2=223,E2=322)," e",IF(And(E2=312,E2=332,E2=2
13,E2=233),"s",t )))


but i am getting #Name? that means error in formula

Help me out
Thanks
dhir

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
challenge! javascript function into excel function Kamila Excel Worksheet Functions 2 February 19th 07 06:35 AM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM
Nested IF Function, Date Comparing, and NetworkDays Function carl Excel Worksheet Functions 2 December 29th 04 09:57 PM


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