If Statement

Eyeris87

Board Regular
Joined
Dec 1, 2015
Messages
104
Enter a formula in cell J4 using the IF function to it whether or not the item Beaded Earrings should go on sale. It will go on sale if its current sales rank (in cell G4) is 8th or lower. (Hint: If the cell value is greater than or equal to 8, it will go on sale.)

So far I have =IF(
G4>="8" I'm stuck on the rest.

Thanks in advance
 
I entered this =IF(G4>=$B$8,"Yes","-") and it seems to work as true, I'm not sure if it's correct though.

Correction, V==IF(G4>=$G$4,"Yes","-") I still need to work in the "8"
 
Last edited:
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Is the data in column G the sales volume, or the sales rank? That is, do you have a list of sales figures and have to figure out the ranking? If so then please look at the help page for the function LARGE. If G actually has the sales rank then the formula above should be working.
 
Upvote 0
I believe G is the rank. How do I establish rank on Column G? also, How do I factor in 8 to the equation?
 
Upvote 0
Thanks, Sorry, Typo. I actually had that in my statement in the workbook. I just screwed it up here. My apologies.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,304
Members
452,633
Latest member
DougMo

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