excel formula what column is below cost

BORUCH

Well-known Member
Joined
Mar 1, 2016
Messages
528
Office Version
  1. 365
Platform
  1. Windows
HI all

i would like an excel formula that would generate for me what it says in column G

Book1
ABCDEFGH
1ITEM DESCRIPTION COST PRICE LIST 1 PRICE LIST 2 PRICE LIST 3 RESULTS
211111BANANAS$ 21.50$ 50.36$ 20.00$ 65.30PRICE LIST 2 IS LOWER THEN COST NEED FORMULA TO GENERATE COLUMN G
322222PEARS$ 20.58$ 12.36$ 50.00$ 10.00PRICE LIST 1 & PRICE LIST 3 IS LOWER THEN COST
Sheet1


thanks
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
How about
Excel Formula:
=LET(a,TEXTJOIN(" & ",,IF(D2:F2<C2,$D$1:$F$1,"")),IF(a="","",a&" IS LOWER THEN COST "))
 
Upvote 0
How about
Excel Formula:
=LET(a,TEXTJOIN(" & ",,IF(D2:F2<C2,$D$1:$F$1,"")),IF(a="","",a&" IS LOWER THEN COST "))
hi sorry for not explaining i need just this for an excel version 2010
 
Upvote 0
Will it only ever be 3 columns to check?
 
Upvote 0
If it could be more, then you would be better of with a macro.
 
Upvote 0
You could do something like
Excel Formula:
=IF(D2<C2,$D$1,"")&IF(E2<C2,$E$1,"")&IF(COUNTIFS(D2:F2,"<"&C2),"IS LOWER THEN COST","")
but it will not give you the &s
 
Upvote 0
Solution
You could do something like
Excel Formula:
=IF(D2<C2,$D$1,"")&IF(E2<C2,$E$1,"")&IF(COUNTIFS(D2:F2,"<"&C2),"IS LOWER THEN COST","")
but it will not give you the &s
thank you very much that worked
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,497
Messages
6,113,998
Members
448,539
Latest member
alex78

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