SMALL function to exclude a row

jking1

New Member
Joined
Sep 28, 2021
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am attempting to calculate the lowest week of sales over a period of time (which is easy enough) however I need to exclude 1 row from the range. Reason for this is that the period in question is known to have reduced sales for a 1 week period & therefore I would like to exclude this one row from the SMALL or MIN function but to include all other data. I am hoping that someone may be able to help with this. Attached is a test set of data I have produced. The yellow highlighted cell (D10) is the row I would like to exclude.

Many thanks in advance!
 

Attachments

  • Test Data.png
    Test Data.png
    19.5 KB · Views: 9

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi & welcome to MrExcel.
How would you know which week was to be ignored?
 
Upvote 0
Hi & Thanks!
In the schedule it is the week of Christmas I wish to ignore. The business still trades over this period but at very minimum levels.
 
Upvote 0
As your dates are all in January & you want to exclude the 6th, that doesn't really make much sense. ;)
That said, how about
+Fluff 1.xlsm
ABCD
1
2
3
4
501/01/20218
602/01/20212
703/01/20213
804/01/20210
905/01/20215
1006/01/20211
1107/01/20213
1208/01/202121
1309/01/20210
1410/01/20215
1511/01/20210
1612/01/20215
17
18
1906/01/20212
Report
Cell Formulas
RangeFormula
D19D19=MINIFS(D5:D16,D5:D16,">0",B5:B16,"<>"&B19)
 
Upvote 0
Apologies, I should've made it more relevant! ;)

That has worked an absolute treat! Many thanks for this.

(I have a feeling this website will become extremely valuable...)
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0
Out of curiosity, if i wanted to increase the range from a single cell to 2 cells, what would I amend the formula too?
 
Upvote 0
How about
+Fluff 1.xlsm
ABCD
1
2
3
4
501/01/20218
602/01/20212
703/01/20213
804/01/20210
905/01/20215
1006/01/20211
1107/01/20211
1208/01/202121
1309/01/20210
1410/01/20215
1511/01/20210
1612/01/20215
17
18
1906/01/20212
2007/01/2021
Report
Cell Formulas
RangeFormula
D19D19=MINIFS(D5:D16,D5:D16,">0",B5:B16,"<>"&B19,B5:B16,"<>"&B20)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,651
Messages
6,120,738
Members
448,988
Latest member
BB_Unlv

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