How to extract minimum value and show in another cell based on drop down list

munchems

New Member
Joined
Nov 12, 2023
Messages
12
Office Version
  1. 2021
Platform
  1. Windows
Hello,

I'm a beginner excel user and I am trying to take the minimum value from the "New Amount Owing" column in Week 1 and show it in the "Amount Owing" column Week 2 based on the drop down list selection in the "Debt" column of Week 2. I've tried nesting IF and MINIF but haven't been sucsessful. TIA!
 

Attachments

  • 2023-11-12.png
    2023-11-12.png
    88.5 KB · Views: 39
No, that was one of the first things I tried. The reason it doesn't work is because there's no condition on what drop down list selection is chosen in column A.

Yeah so that's exactly what I ended up using after I had posted my solution. I think coming up with that long formula helped me to understand how I could shorten it into a single MINIFS formula. But now I understand the AGGREGATE function as well and I'm learning a lot!! Thanks again! :)
You're welcome, but to be honest, I probably should have stuck to MINIFS that you were using. Wouldn't this very simple version of that function do the job for you?

23 11 15.xlsm
ABCDEFG
3Toll Hwy111.1435.0076.14
4Credit Card663.0035.00628.00
5Mortgage1,500.0020.001,480.00
6Federal Student Loan13,608.55100.0013,508.55
7Credit Card628.0020.00608.00
8Mortgage1,480.0060.001,420.00
9Credit Card608.0020.00588.00
Lowest values (2)
Cell Formulas
RangeFormula
B7:B9B7=MINIFS(G$3:G6,A$3:A6,A7)
G3:G9G3=B3-E3
Sorry that first part of my reply was meant for another forum and I guess I thought I was typing there lol
 
Upvote 0

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
You're welcome, but to be honest, I probably should have stuck to MINIFS that you were using. Wouldn't this very simple version of that function do the job for you?

23 11 15.xlsm
ABCDEFG
3Toll Hwy111.1435.0076.14
4Credit Card663.0035.00628.00
5Mortgage1,500.0020.001,480.00
6Federal Student Loan13,608.55100.0013,508.55
7Credit Card628.0020.00608.00
8Mortgage1,480.0060.001,420.00
9Credit Card608.0020.00588.00
Lowest values (2)
Cell Formulas
RangeFormula
B7:B9B7=MINIFS(G$3:G6,A$3:A6,A7)
G3:G9G3=B3-E3


This specifically is what I ended up using:

=IF(A8="", "", MINIFS($G$3:G7,$A$3:A7,A8))

Are there any other formulas that show blank if A column is blank or is this pretty much it?
 
Upvote 0
Solution
This specifically is what I ended up using:

=IF(A8="", "", MINIFS($G$3:G7,$A$3:A7,A8))

Are there any other formulas that show blank if A column is blank or is this pretty much it?
No, that looks exactly right to me. (y)
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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