ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   need help with function (https://www.excelbanter.com/excel-worksheet-functions/449525-need-help-function.html)

eltyar

need help with function
 
1 Attachment(s)
hello All,

please i need help to finish the below

need function to look in "name" and "type" columns and fill the "price" column automatically as information data inside the sheet attached.

thanks a lot in advance.

Claus Busch

need help with function
 
Hi,

Am Wed, 20 Nov 2013 14:04:02 +0000 schrieb eltyar:

need function to look in "name" and "type" columns and fill the "price"
column automatically as information data inside the sheet attached.


In C3 try:
=INDEX($I$1:$M$6,MATCH(A3,$I$1:$I$6,0),MATCH(B3,$I $2:$M$2,0))
and copy down


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

eltyar

Quote:

Originally Posted by Claus Busch (Post 1615077)
Hi,

Am Wed, 20 Nov 2013 14:04:02 +0000 schrieb eltyar:

need function to look in "name" and "type" columns and fill the "price"
column automatically as information data inside the sheet attached.


In C3 try:
=INDEX($I$1:$M$6,MATCH(A3,$I$1:$I$6,0),MATCH(B3,$I $2:$M$2,0))
and copy down


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

you r my man BRO,
thanks alot it's working like charm.

just one more thing i need to put "0" if any value in the function not found.

Claus Busch

need help with function
 
Hi,

Am Thu, 21 Nov 2013 08:46:35 +0000 schrieb eltyar:

just one more thing i need to put "0" if any value in the function not
found.


if you use xl2007 or later:
=IFERROR(INDEX($I$1:$M$6,MATCH(A3,$I$1:$I$6,0),MAT CH(B3,$I$2:$M$2,0)),0)
for earlier versions try:
If(Iserror(YourFormula);0;YourFormula)


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

eltyar

Quote:

Originally Posted by Claus Busch (Post 1615095)
Hi,

Am Thu, 21 Nov 2013 08:46:35 +0000 schrieb eltyar:

just one more thing i need to put "0" if any value in the function not
found.


if you use xl2007 or later:
=IFERROR(INDEX($I$1:$M$6,MATCH(A3,$I$1:$I$6,0),MAT CH(B3,$I$2:$M$2,0)),0)
for earlier versions try:
If(Iserror(YourFormula);0;YourFormula)


Regards
Claus B.
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2

thanks boss :)


All times are GMT +1. The time now is 05:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com