Newbie mistake - Same simple formula, different results

WilliamYlab

New Member
Joined
Apr 8, 2017
Messages
3
Hey, I'm extremely new to the website and a true beginner at Excel.

I'm studying Excel and its more complex formulas and my way of studying it is to take complex formulas and decompose them step by step to see how the results are formed.

That said, I seem to be having some problem with something that should be extremely simple.

I have the following set:

ABCD
1value being compared11
2value 111=(B2:B3<=B1)TRUE
3value 211=(B2:B3<=B1)#ERROR

<tbody>
</tbody>

The example above is not wrong in any value. If I use the exact same formula in two different rows, the results vary.

* If I change the value of the formula in C3 to (B3:B4<B2) - following Excel's pattern - it doesn't show an error.
* If I copy and paste the formula from C2 to D2, it doesn't show an error.

I just wanted to confirm that this is something with Excel and reproducible to others.

The goal with this was to understand the usage of the "--" (double negative) to transform TRUE and FALSE values into 1 and 0.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hello William

I have set up a copy of your spreadsheet on Excel 2013, both instances return TRUE. When changing the values in Column C, the results change between TRUE/FALSE as expected.

Which version of Excel are you using?

Caleeco
 
Upvote 0
Where are the -- in your formulas?
 
Upvote 0
Hey Caleeco thank you so much for testing that out. I'm currently using Excel 2016, Brazilian Portuguese version.
 
Upvote 0
Where are the -- in your formulas?

Hi Norie, I didn't even got to place the -- in the second formula (C3) because of the #ERROR result that it was displaying. Anyway, adding the -- doesn't change the #ERROR message, but changes the D2 result to 1, as expected.
 
Upvote 0
Hi William,

Are you able to re-create the same issue yourself on a NEW workbook? Or is it just on the one you are working on?

Caleeco
 
Upvote 0

Forum statistics

Threads
1,217,367
Messages
6,136,136
Members
449,994
Latest member
Rocky Mountain High

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