Complicated logic formula

Rivi

New Member
Joined
Dec 28, 2021
Messages
1
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Hi, I need some help with these complicated logical functions please. I think I know how to write each function but the combination is too complicated for me. Thanks!!

itemunitsprice
A115
A115
B15
B210
B315
C115
C120
D110

If item (column A) is unique return the value 10
If not (If item is duplicated)
then:
For the smallest unit return the value 7
For the medium unit return the value 8
For the largest unit return the value 9
If all units are equal for the same item:
For the smallest price return the value 7
For the medium price return the value 8
For the largest price return the value 9
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Could you please explain the logic? Item B is not unique but gets price of 5 for one unit. This value is not mentioned in your description Where do the prices for Item C come from?.
 
Upvote 0

Forum statistics

Threads
1,213,492
Messages
6,113,967
Members
448,537
Latest member
Et_Cetera

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