#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Returning data

I have a data table with four columns in Excel,it looks like this.

Area Month Qu_No Qu_Ans
London Jan 1 3
London Jan 2 4

etc

There are over 6000 records in this table.
Is it possible to create a function that will select from this table the
data from the Qu_Ans column where the data in the area column = London, the
data in the month column=Jan and the data in the Qu_No column = 3

Thanks in advance


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Returning data

By far the simplest method is to apply a filter using Data - Filter and then
filter on London, Jan and 3 in the appropriate columns.

"nir020" wrote:

I have a data table with four columns in Excel,it looks like this.

Area Month Qu_No Qu_Ans
London Jan 1 3
London Jan 2 4

etc

There are over 6000 records in this table.
Is it possible to create a function that will select from this table the
data from the Qu_Ans column where the data in the area column = London, the
data in the month column=Jan and the data in the Qu_No column = 3

Thanks in advance


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Returning data

=INDEX(D1:D6000,MATCH(1,(A1:A6000="London")*(B1:B6 000="Jan")*(C1:C6000=3),0)
)

--
HTH

Bob Phillips

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"nir020" wrote in message
...
I have a data table with four columns in Excel,it looks like this.

Area Month Qu_No Qu_Ans
London Jan 1 3
London Jan 2 4

etc

There are over 6000 records in this table.
Is it possible to create a function that will select from this table the
data from the Qu_Ans column where the data in the area column = London,

the
data in the month column=Jan and the data in the Qu_No column = 3

Thanks in advance




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
Manual control of link updating for downloaded quotes? dk_ Excel Discussion (Misc queries) 9 November 15th 06 01:04 PM
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
Vlookup to Return a Range of Data James Excel Discussion (Misc queries) 0 July 13th 06 09:44 PM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM


All times are GMT +1. The time now is 01:09 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"