Number Filtering

FARMER

New Member
Joined
Oct 9, 2006
Messages
1
Hi,

I have a large spreadsheet (a few hundred lines long).

Please reference the data set called "now". I need to calcuate the values shown in "need" as follows:

1) Search the values in Column "A" and focus on only those rows having the lowest value(s). In the example below, rows 4 and 7 are ignored, and corresponding column, B, C, D values are set to zero.

2) Of the remaining rows (3, 5 and 6 in this case), choose the highest value remaining in column B, C, D and set all other remaining values to zero.

Thanks.
Book1
ABCDEFGHI
2NowNowNowNowNeedNeedNeedNeed
322312000
432413000
523422340
621342004
746214000
Sheet1

3) Lastly, is there any way to do a macro for this. I need to apply this condition to parts of a spreadsheet...not always all of it.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

yee388

Well-known Member
Joined
Mar 7, 2004
Messages
1,374
Have you looked at the AutoFilter functionality? You can do that on a selected range, and it's easy to specify criteria for each column... the good thing about Autofilter is that it's easy to reset and chop up the data another way, without re-writing macros.
 

Forum statistics

Threads
1,172,168
Messages
5,879,432
Members
433,430
Latest member
lukerjordan7

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
Top