Jump to content

Depending on how you want to handle equivalence.

 

=IF(D2 > 10, "Good", "Bad")

=IF(D2 > 10, "Good", IF(D2 < 10, "Bad", ""))

PSU Tier List | CoC

Gaming Build | FreeNAS Server

Spoiler

i5-4690k || Seidon 240m || GTX780 ACX || MSI Z97s SLI Plus || 8GB 2400mhz || 250GB 840 Evo || 1TB WD Blue || H440 (Black/Blue) || Windows 10 Pro || Dell P2414H & BenQ XL2411Z || Ducky Shine Mini || Logitech G502 Proteus Core

Spoiler

FreeNAS 9.3 - Stable || Xeon E3 1230v2 || Supermicro X9SCM-F || 32GB Crucial ECC DDR3 || 3x4TB WD Red (JBOD) || SYBA SI-PEX40064 sata controller || Corsair CX500m || NZXT Source 210.

Link to comment
https://linustechtips.com/topic/1072826-excel-help/#findComment-12645647
Share on other sites

Link to post
Share on other sites

Looks like it should be done in this way:

=IF((OR(D2 > 10, D2 <= 10)), "Good", "Bad")

Although I was only able to test it out with Google Spreadsheets. Worked in there though.

 

P.S. I changed the formula a bit, from greater or lesser than 10, to greater than 10, or lesser/equal to 10. Without that equal to in the formula, you're excluding all the entries of exactly 10 from your formula (although you may want to use that, depends on what you want to do).

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/1072826-excel-help/#findComment-12645652
Share on other sites

Link to post
Share on other sites

22 hours ago, Dylan Power said:

THANKS EVERYONE SO MUCH!

 

 

ps how would i also make it say "Great" 

Be sure to quote people when replying, otherwise we wont see your additional questions.

image.png.60a455877205e9fcfad860c1b83ceb6c.png

 

 

I just spent an hour trying to do this formula, Excel was not cooporating (giving me weird errors on what looked like a good formula) I just pasted it in Google Spreadsheets and it just worked.

 

I got the formula here, but I am not about to try and make it work with Excel's seemingly subpar formula system.

=IF(B2 = 10,"Perfect!", IF(OR(B2 >= 6, "Good", "Bad")))

If you have a 10, you get Perfect. If your grade is above 6 (but not 10) you get Good. Otherwise you get bad.

Example:

image.png.28e1b0f41129faa7cbcefa9b4ea9cf56.png

 

Excel for some reason doesn't want to just run this formula, not sure why to be honest.

 

P.S. You can of course change the numbers around however you like.

I also checked a lot of website for sources, this one seems to be the closest to what you need:

https://www.ablebits.com/office-addins-blog/2014/12/03/excel-if-function-iferrror-ifna/comment-page-8/

 

EDIT:

I forgot to mention, this formula needs to be listed in all the cells you want it to work in. The way I did it is explained here: 

https://www.ablebits.com/office-addins-blog/2016/01/20/copy-formula-excel/

That way the 'references' also change (B2 becomes B3 in the cell below, etc.)

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/1072826-excel-help/#findComment-12646884
Share on other sites

Link to post
Share on other sites

10 hours ago, Minibois said:

Excel for some reason doesn't want to just run this formula, not sure why to be honest. 

Could it be all of spaces used? Maybe. Not on Excel until Monday so can't check.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
https://linustechtips.com/topic/1072826-excel-help/#findComment-12647982
Share on other sites

Link to post
Share on other sites

13 minutes ago, LogicalDrm said:

Could it be all of spaces used? Maybe. Not on Excel until Monday so can't check.

I just tried copy-pasting (this working in Spreadsheets) formula into Excel, removed all spaces and it still doesn't work.

Perhaps it's just my unfamiliarity with Excel, but this is basically what goes wrong:

image.png.71cb1b864fd3939043303fc3543330f8.png

It kind of 'clumps together' the entire formula into the logical test space. I tried manually fixing it, but when trying to implement the first nested IF it all goes wrong. It's probably an easy fix someone with actual Excel skill can fix, but I quite frankly just found Excel to be way too clunky this morning to bother with it any more.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
https://linustechtips.com/topic/1072826-excel-help/#findComment-12648007
Share on other sites

Link to post
Share on other sites

7 hours ago, Minibois said:

I just tried copy-pasting (this working in Spreadsheets) formula into Excel, removed all spaces and it still doesn't work.

Perhaps it's just my unfamiliarity with Excel, but this is basically what goes wrong:

image.png.71cb1b864fd3939043303fc3543330f8.png

It kind of 'clumps together' the entire formula into the logical test space. I tried manually fixing it, but when trying to implement the first nested IF it all goes wrong. It's probably an easy fix someone with actual Excel skill can fix, but I quite frankly just found Excel to be way too clunky this morning to bother with it any more.

Ok, the other one I can think is (OR( part of it. I think that's unnecessary. Nesting IF functions should already cover whatever that's supposed to be doing.

^^^^ That's my post ^^^^
<-- This is me --- That's your scrollbar -->
vvvv Who's there? vvvv

Link to comment
https://linustechtips.com/topic/1072826-excel-help/#findComment-12648648
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×