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: 24
Default Maximun IF statements in a cell

My recommendation would be to use a VLOOKUP formula. First
you must create a table that maps a name to each Material
group, something like (on Sheet2):

A B
1 FI1 NAME1
2 FI2 NAME1
3 FM1 NAME1
4 FX5 NAME2
5 FX6 NAME2
6 FXC NAME2

Then use:

=VLOOKUP(A1,Sheet2!A:B,2,0)

HTH
Jason
Atlanta, GA


-----Original Message-----
Hello,
I have Column C that contains about 110 different

material
groups EX, BC1,FF1,FF3,FD1, ext upto 110. I want to

create
a formula in B, which this is Sample:
=IF(OR(C:C="FI1",C:C="FI2",C:C="FM1"),"NAME1",IF( OR
(C:C="FX5",C:C="FX6",C:C="FXC",C:C="FXR"),"NAME2" ,IF(OR
(C:C="FV1"),"NAME3",IF(OR(C:C="BC3",C:C="FV5"),"N AME4"))))
It works fine but when I add more IF(OR i get an error.
I'm able to have just 7-8 IF(OR so is this the Max in a
Cell?
I think I need about 24 IF(OR . The file that I open
might not include all groups, but changes. So my data

file
might contain some groups this month but not all. So when
I do the formula, I want to be able to look for all

groups.
Any help would be very greateful.
Thanks,
JUAN
.

 
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
Is there a maximun number of cells allowed in a name range? peingle Excel Worksheet Functions 5 July 4th 09 01:24 PM
Maximun number of hyperlinks in Excel Sam Excel Discussion (Misc queries) 4 February 19th 09 01:58 PM
width at the hlaf maximun peak Mauro Charts and Charting in Excel 0 March 27th 08 11:56 PM
Maximun number of rows and columns OssieMac Excel Discussion (Misc queries) 3 March 22nd 07 09:52 AM
Using 2 IF statements for the same cell [email protected] Excel Discussion (Misc queries) 3 January 12th 07 06:11 PM


All times are GMT +1. The time now is 03:41 AM.

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"