LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Search through a data base with multiple parameters

I have two data bases, from a ground investigation which look like that:

DB#1
(a) Borehole (b) Depth from (c) Depth to (d) Soil Type
1 BH1 0m 2m Sand
2 BH1 2m 4m Clay
3 BH1 4m 7m Gravel
4 BH2 0m 1.5m Sand
5 BH2 1.5m 5m Clay
6 BH2 5m 8m Gravel

DB#2
(a) Borehole (b) Depth (c) pH test (d) Soil Type
1 BH1 2m 7.5 ?
2 BH1 5m 9.0 ?
3 BH2 5m 8.5 ?

What I want to do is add a column in Database #2 with the soil types. I.e.
to show what type of soil each pH test corresponds to.

I tried the if function in an array:
if(a1=DB#1-a1:a6,if(b1=DB#1-b1:b6,if(c1<DB#1-c1:c6,d1:d6))))

However, what this does, is it find the first record that matches the first
'if' and then checks the second and third columns and if the conditions do
not work, it simply returns 'false'. What I want it to do is if one of the
conditions does not work to go to the next record.

What am I doing wrong? any help please?

Thank you

 
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
how do i retrieve data from multiple parameters? geo chevko[_2_] Excel Worksheet Functions 6 August 11th 08 02:09 PM
Excel 2002: How to sum up base on date parameters ? Mr. Low Excel Discussion (Misc queries) 4 March 27th 08 03:55 PM
which parameters to use for search [email protected] Excel Discussion (Misc queries) 3 November 22nd 07 01:44 PM
search data set, then put in all info base on one critera senior blanco Excel Worksheet Functions 0 January 20th 06 03:24 PM
how to search multiple pages for data Hoppy Excel Worksheet Functions 1 January 28th 05 10:20 AM


All times are GMT +1. The time now is 06:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"