Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Search 2 Criteria for 1 sep result

I have a table of values

Column headers and Row headers

Say Column headers are months
Row headers are people
Cell content is say a salary

basically i want to be able from a drop down box select a person and a month.

then based on this and an if statement it should result in the salary for
that month

jan feb march
joe 1 5 6
mary 10 5 20
fred 20 0 5

i will have an entry box stating "enter your name" and another saying "enter
the month" the 3rd cell is the result

so if the person states joe & jan , the result should =1

keep in mind this is a smaller scale than what i am using.

also my ideal search is the below :

jan feb march april
joe 1 6
mary 10 20
fred 20 5

where jan and feb have ONE value in a merged cell below being 1/10/20 and
same for march April.

So basicaly if the data was Joe & Jan now = 1 , Joe and Feb = 1
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Search 2 Criteria for 1 sep result

Brad,

Use INDEX keyed with MATCH functions:

=INDEX(TableRange,MATCH(Name,NameRange,False),MATC H(Month,HeaderRange,False))

Like
=INDEX(A2:E15,MATCH(G2,A2:A15,FALSE),MATCH(G3,A2:E 2,FALSE))
where G2 and G3 have Data Validation List.

HTH,
Bernie
MS Excel MVP


"brad watson" wrote in message
...
I have a table of values

Column headers and Row headers

Say Column headers are months
Row headers are people
Cell content is say a salary

basically i want to be able from a drop down box select a person and a month.

then based on this and an if statement it should result in the salary for
that month

jan feb march
joe 1 5 6
mary 10 5 20
fred 20 0 5

i will have an entry box stating "enter your name" and another saying "enter
the month" the 3rd cell is the result

so if the person states joe & jan , the result should =1

keep in mind this is a smaller scale than what i am using.

also my ideal search is the below :

jan feb march april
joe 1 6
mary 10 20
fred 20 5

where jan and feb have ONE value in a merged cell below being 1/10/20 and
same for march April.

So basicaly if the data was Joe & Jan now = 1 , Joe and Feb = 1



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
Search for Text within a Formula Result Q Sean Excel Worksheet Functions 5 February 14th 08 03:50 PM
Please help on array search & result ORLANDO V[_2_] Excel Worksheet Functions 3 January 29th 08 11:34 PM
Search another Workbook to find result brown_toby Excel Worksheet Functions 3 June 30th 06 09:14 PM
How do I search excel spreadsheets using multiple search criteria. Kasper Excel Worksheet Functions 4 December 15th 05 12:26 AM
SEARCH function #VALUE! result Mike Boerne Excel Worksheet Functions 3 January 5th 05 08:53 PM


All times are GMT +1. The time now is 05:36 AM.

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"