LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CdFMarshall
 
Posts: n/a
Default More then 7 IF functions?


Hi all,

I am new here and found this forum because, as most persons here I
guess, I need some help in Excel.
I have been building a worksheet for my job information but get stuck.

What is the problem? I'll try and explain:
I am building an overview of ingredients of petfood. It should finally
result in a sheet in which you can fill in a value and the sheet says
it is ok or not.

In one sheet I have therefore lined out a couple of sorts petfoods
(junior, adult, and so on) with the values of the ingredients it would
contain in an ideal situation (for instance, vitamines of the standard
food with a minimum, maximum and mean value). I hope this part is
clear, please ask if it's not.

In the second sheet, the values which I find in a batch are filled in.
It shows as following:
date-batchcode-productcode-productname-and then the values I have found
for the ingredients followed by a correct / incorrect
It contains multiple functions.
The first function is the function that allows you to only insert the
productcode and excel will automatically fill in the productname. I
created this function for it:

=IF(C4="010";"product A";IF(C4="015";"product B";IF(C4="020";"product
C";IF(C4="030";"product D";IF(C4="040";"product E";IF(C4="050";"product
F";IF(C4="060";"product G";IF(C4="070";"product H";"INCORRECT"))))))))

Uptill the moment of product G it works fine, but then I get product H,
which is the 8th product and therefore excel can not put it in one line
anymore (as excel can only include 7 IF functions) so it automatically
gives an INCORRECT.

First question is therefo Is there a way to change this so I can
include more then 7 products in the function line?


Then, I'll continue, If this is possible: How can I recreate this to an
automatic function which automatically takes the values of sheet 1 for
that specific product into account?
So when I insert a date, batchcode, a productcode (at this moment excel
should automatically insert the productname) and then insert a value
which I found for that batch, excel should automatically compare this
to that specific value in sheet 1...

I hope you know what I mean and furthermore I of course hope you can
help me because I almost gave up on this already....

Thanks!

CdFMarshall
I need a worksheet which contains in one sheet stats that can be
considered normal.


--
CdFMarshall
------------------------------------------------------------------------
CdFMarshall's Profile: http://www.excelforum.com/member.php...o&userid=32085
View this thread: http://www.excelforum.com/showthread...hreadid=518392

 
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
Can I get Excel to determine the line curve formula without graph. Cadelima Excel Discussion (Misc queries) 8 December 20th 05 09:57 PM
User-defined functions created in Excel 2000 fail in Excel 2003 goodguy Excel Discussion (Misc queries) 1 October 3rd 05 07:04 PM
Database functions should use criteria in formula, as 1-2-3 does 123user Excel Worksheet Functions 8 September 29th 05 08:57 PM
Visible rows and functions that work tracy Excel Worksheet Functions 2 August 19th 05 05:25 AM
PASTE DOWN FUNCTIONS jackle Excel Worksheet Functions 0 May 25th 05 02:10 PM


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