Formula for matrix.

R

rita

In a matrix similar to this

Fruit Vanilla Chocolate .....
13 £20 £15 £18
12 18 16 15
10 16 14 12
..
..
..

Can you help me with a formula to find the price of a
specific size for a specific flavour please possibly using
vlookup and hlookup?
Rita
 
C

Charles Williams

Hi Rita,

assuming that your matrix is in A1:D4 and that col A is the size and row 1
is the flavour then

=INDEX($A$1:$D$4,MATCH($A$2:$A$4,x1,0),MATCH($B$1:$D$1,x2,0))

where x1 contains size and x 2 contains flavour


Charles
______________________
Decision Models
FastExcel Version 2 now available.
www.DecisionModels.com/FxlV2WhatsNew.htm

In a matrix similar to this

Fruit Vanilla Chocolate .....
13 £20 £15 £18
12 18 16 15
10 16 14 12
..
..
..

Can you help me with a formula to find the price of a
specific size for a specific flavour please possibly using
vlookup and hlookup?
Rita
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top