Need help with Look-up, Sort and Find in data table

iminhell

New Member
Joined
Nov 9, 2010
Messages
9
What I am doing is creating a template. The user will have to copy/paste data from a separate spreadsheet into this template. There are 3 columns of data they'll have to paste. What the template should do is look at the first column (A) for a specified number (0). Then it should move to the second column (B) to find all numbers with in a range specified by column F, which are numbers. Ranges would look something like F36:F35, F35:F34, etc. So the range looks in column B for numbers between the numbers in F36 and F35. It then should Average the numbers in the corresponding cells of the range in column C. The equation and data will be placed in column G.

Columns A, B and C have to be dynamic because the amount of user input data may vary greatly. Also the data will be unsorted ... unless it will only work to have the data sorted. I'm not sure which will work best.

All I'm looking for is what functions I should be using, or could use.



... after thought,

Maybe I can just use nested If Then statements with a Sum/Count (or Average) statement?
Have to give that a shot I guess ...
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,224,602
Messages
6,179,844
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top