Formula needed (G139)

ironsides

Well-known Member
Joined
Aug 12, 2002
Messages
575
(IF G139=>E139) then ((K139=G139)*($O$139))
If not then K139 remains unchanged
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
IF (G139>=E139,G139*O139,K139), but you cannot apply it in K139 directly, you have to apply it in some other cell

 
Last edited:
Upvote 0
You'll need to use VBA to change that value then. Is that something you want to explore?
 
Upvote 0
A cell can contain either data (number/text/both) OR a formula, it cannot contain both. So, if you are putting this in G139, but then also need to text G139 for something, you cannot do that with a formula, without causing a circular error
(IF G139=>E139) then ((K139=G139)*($O$139))
If this was going into a blank cell then the formula would be...
=IF(G139=>E139,G139*$O$139)
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,259
Members
449,075
Latest member
staticfluids

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