Return values from table

P

Paula

If I a have a set table like this:

Daily Termo Spring
Single 20 30 40
Double 30 40 45
Triple 35 45 55

And I have a set of data which changes daily, I want a formula to return the
number of minutes in the table if the day's job is a Single Room with a Termo
clean i.e. 30 minutes.

Is it possible? Thanks in advance.
 
M

Max

An index/match could also be used ..

Assume your posted table is within A1:D4,
data in B2:D4, row headers in A2:A4, col headers in B1:D1

Assume you have the paired inputs in F2:G2 down,
eg in F2: Single, in G2: Termo

then you could place this in H2:
=INDEX($B$2:$D$4,MATCH(F2,$A$2:$A$4,0),MATCH(G2,$B$1:$D$1,0))
to return the intersection data, viz: 30

Copy H2 down to return correspondingly for other paired inputs in F3:G3,
F4:G4, etc
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,400 Files:358 Subscribers:55
xdemechanik
 

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

Similar Threads


Top