Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Special Formula

Hi,

I have a spreadsheet that looks like that:

Components A1 A2 A3 A4 .... A250
Inventory x x x ... x

Product 1 x x ...
Product 2 x x ...
Product 3 x x ...

Basically, Product 1 & 2 could be done because all necessary components are in
stock, but Product 3 could not be delivered because A3 component is missing.

I would like to have a formula that determines automatically if a given product
can be build based on the inventory.
I started with IF statements, but the formula is too long...

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Special Formula

The following is an array formula. You must enter it with CTRL+SHIFT+ENTER
C2:IQ2 is your components
C6:IQ6 is product 3

=(SUM(NOT($C$2:$IQ$2="x")*(C6:IQ6="x"))=0)


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Moreaudjd" wrote in message
...
Hi,

I have a spreadsheet that looks like that:

Components A1 A2 A3 A4 .... A250
Inventory x x x ... x

Product 1 x x ...
Product 2 x x ...
Product 3 x x ...

Basically, Product 1 & 2 could be done because all necessary components

are in
stock, but Product 3 could not be delivered because A3 component is

missing.

I would like to have a formula that determines automatically if a given

product
can be build based on the inventory.
I started with IF statements, but the formula is too long...

Thanks




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Special Formula

Not sure what the criteria are, but you could maybe use COUNTA to check it

For instance add a formula at the right of each row

=IF(COUNTA(A1:IP1)=0,"Build","Don't build")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Moreaudjd" wrote in message
...
Hi,

I have a spreadsheet that looks like that:

Components A1 A2 A3 A4 .... A250
Inventory x x x ... x

Product 1 x x ...
Product 2 x x ...
Product 3 x x ...

Basically, Product 1 & 2 could be done because all necessary components

are in
stock, but Product 3 could not be delivered because A3 component is

missing.

I would like to have a formula that determines automatically if a given

product
can be build based on the inventory.
I started with IF statements, but the formula is too long...

Thanks




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
calculating a special formula [email protected] New Users to Excel 1 December 12th 07 09:44 PM
ANY SPECIAL ARRAY OR OTHER FORMULA FARAZ QURESHI Excel Discussion (Misc queries) 14 April 23rd 07 06:03 AM
Special Lookup Formula DoooWhat Excel Discussion (Misc queries) 4 March 13th 07 01:03 AM
Paste Special Formula LymaBeane Excel Worksheet Functions 4 October 12th 06 09:09 PM
special sum formula tjb Excel Worksheet Functions 4 September 9th 05 06:05 AM


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