Twinkievizzio11
New Member
- Joined
- Apr 27, 2017
- Messages
- 30
- Office Version
- 365
- 2021
- Platform
- Windows
Example Data:
Column B Column C Column F
Apple 1234 1.00
Orange 1234 1.25
Orange 4321 5.00
Pineapple 4321 3.50
Banana 4321 3.50
Grape 5678 1.00
Orange 5678 1.00
Pineapple 5678 1.00
Apple 5678 1.00
Berry 5678 1.50
Grape 5678 1.00
Orange 6666 1.00
Pineapple 6666 1.00
Grape 6666 1.00
Berry 6666 1.50
Output:
If Column C is the same number ID then give me the lowest price in Column F
If the lowest price in Column F and the Number ID in Column C are equal then give me the row that has the Name "Apple". If "Apple" is not there then give me the row that has the name "Grape" if Grape is not there then just give me the row that has the lowest price for that Number ID.
Results should look like:
Apple 1234 1.00
Pineapple 4321 3.50
Apple 5678 1.00
Grape 6666 1.00
If anyone can help Id truly appreciate it.
Column B Column C Column F
Apple 1234 1.00
Orange 1234 1.25
Orange 4321 5.00
Pineapple 4321 3.50
Banana 4321 3.50
Grape 5678 1.00
Orange 5678 1.00
Pineapple 5678 1.00
Apple 5678 1.00
Berry 5678 1.50
Grape 5678 1.00
Orange 6666 1.00
Pineapple 6666 1.00
Grape 6666 1.00
Berry 6666 1.50
Output:
If Column C is the same number ID then give me the lowest price in Column F
If the lowest price in Column F and the Number ID in Column C are equal then give me the row that has the Name "Apple". If "Apple" is not there then give me the row that has the name "Grape" if Grape is not there then just give me the row that has the lowest price for that Number ID.
Results should look like:
Apple 1234 1.00
Pineapple 4321 3.50
Apple 5678 1.00
Grape 6666 1.00
If anyone can help Id truly appreciate it.