Left find with multiply and less than

julhs

Active Member
Joined
Dec 3, 2018
Messages
407
Office Version
  1. 2010
Platform
  1. Windows
On the face of it this is really basic stuff!!
When; B3 = 2 and B4 = 0.9
And B5 is; =IF(b3*b4<1,"rr",B3*B4) result = 1.8

Not sure if it’s my imagination that when stored as TEXT and using the LeftFind function a different logic is needed?
For the life of me I just can’t get it to work, more importantly can’t figure out where I’m going wrong!

Because when numbers are stored as text eg;
B7; = 2 x xx (as text)
B8; = 0.9 x xx (as text)
And using LeftFind on B7 and B8, results are this;
B10 is; = ((LEFT(B7,FIND(" ",B7)-1)+0) = 2
B11 is; = ((LEFT(B11,FIND(" ",B11) -1)+0) = 0.9
B12 is; =((LEFT(B7,FIND(" ",B7)-1)+0)*((LEFT(B8,FIND(" ",B8)-1)+0) = 1.8
But when I then introduce an “If” & “<” argument, despite my attempts I simply can’t I get the formula to function, I get “to many arguments”, “missing parenthesis”, “formula contains an error” etc, etc
Eg;
=if((LEFT(B7,FIND(" ",B7)-1)+0)*((LEFT(B8,FIND(" ",B8)-1)+0)>1,((LEFT(B7,FIND(" ",B7)-1)+0)*((LEFT(B8,FIND(" ",B8)-1)+0)),"rr")))

00 Fert-Chemical-Nozzle calculator Currant.xlsm
ABCD
1
2ISTEXT
32FALSE
40.9FALSE
5Result1.8FALSE
6
72 x xxTRUE
80.9 x xxTRUE
9
102FALSE
110.9FALSE
12Result1.8FALSE
13
Sheet26
Cell Formulas
RangeFormula
C10:C12,C7:C8,C3:C5C3=ISTEXT(B3)
B5B5=IF(B3*B4<1,"rr",B3*B4)
B10:B11B10=((LEFT(B7,FIND(" ",B7)-1)+0))
B12B12=((LEFT(B7,FIND(" ",B7)-1)+0)*((LEFT(B8,FIND(" ",B8)-1)+0)))
 
Last edited:
I see now why my attempt failed as it was due to the fake I had double parenthesis in front of the internal Left's
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Fluff, thanks again for your help
jtakw. Realy unfair that I can only mark as solved, 1 of the 3 solutions yourself and fluff provided, but I do really appreciate your help
 
Upvote 0
You're very welcome, no problem at all, glad we can help and thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,645
Messages
6,120,711
Members
448,984
Latest member
foxpro

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