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

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
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.
 
Upvote 0

Forum statistics

Threads
1,214,547
Messages
6,120,139
Members
448,948
Latest member
spamiki

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