I need to find a product and a brand at the lowest and highest price only for Lipstick segemnt.
task3.xlsx
I need to find a product and a brand at the lowest and highest price only for Lipstick segemnt.
task3.xlsx
something like this ?
Mark Segment Min Max Brand A Lipstick 8.9 25.63Brand B Lipstick 6.6 25.33Brand C Lipstick 6.4 25.42
Last edited by sandy666; 12-19-2022 at 04:48 PM.
update your profile about Excel Product and Version, eg XL2021 or XL365 v.2301 and so on
GoogleTranslate:
zaktualizuj swój profil o produkt i wersję programu Excel, np. XL2021 lub XL365 v.2301 i tak dalej
Last edited by sandy666; 12-20-2022 at 04:04 AM.
Of course you will want to reference a cell that has the word "Lipstick" in it, but try this:
=INDEX(E2:E186,MATCH("Lipstick"&MAXIFS($H$2:$H$186,$G$2:$G$186,"Lipstick"),$G$2:$G$186&$H$2:$H$186,0))
And as another option if you have 365 or 2021:
=FILTER(E2:F186,(G2:G186="Lipstick")*($H$2:$H$186=MAXIFS($H$2:$H$186,$G$2:$G$186,"Lipstick")))
(of course just switch out MINIFS for MAXIFS to find the least)
This should work regardless of which version of excel you are using;
In Tab Table 1,2
in cell D13
=INDEX(Data!$E$2:$E$9999,MATCH(MIN(IF(Data!$G$2:$G$9999="Lipstick",Data!$H$2:$H$9999)),Data!H$2:$H$9999,0))
in cell E13
=INDEX(Data!$E$2:$E$9999,MATCH(MIN(IF(Data!$G$2:$G$9999="Lipstick",Data!$H$2:$H$9999)),Data!H$2:$H$9999,0))
in cell F13
=MIN(IF(Data!$G$2:$G$9999="Lipstick",Data!$H$2:$H$9999))
Drag each one of these formula down and change MIN to MAX
Note these are all array formulae so must be entered with a CSE (ie. copy the formula into the cell then Press Enter whilst holding the Ctrl and Shift buttons down simultaneously)
Last edited by Croweater; 12-20-2022 at 02:11 AM.
Pl see file.
For lowest cost in L2
Formula:Please Login or Register to view this content.
For highest cost in N2
Formula:Please Login or Register to view this content.
Pl note
Array formula should be confirmed with Ctrl+Shift+Enter keys together.
If answere is satisfactory press * to add reputation.
Thank you all, that's correct
Last edited by Gordian27; 12-20-2022 at 12:05 PM.
next time use @username
did you read post#3 ?
if the problem is solved, hit Add Reputation (bottom left corner next to the post that was helpful)
and then mark the thread as SOLVED (top above your first post - Thread Tools)
Last edited by sandy666; 12-20-2022 at 12:19 PM.
Yes, "update your profile", thank you.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks