L14=total, if P14="text", L14=0

  • Thread starter Thread starter sonar
  • Start date Start date
S

sonar

Hi,

I need to understand how to manipulate text in formulas.

My problem is that if I have an...

amount biger than zero in (L14) whose formula is =+J14-I14-K14,

and

should I then type in text in P14, L14 will then return a zero, instea
of calculating =+J14-I14-K14 due to text typed in P14.

The manipulation will have to occur in L14 (my totals column for th
day)

eg. L14 calculates total (=+J14-I14-K14), but if I type "any text" i
P14, L14 = 0

Help will be most appreciated
 
or if you specifically care about text to the EXCLUSION of numeric dat
in P14 then:

=IF(ISTEXT(N13),0,J14-I14-K14)

- Piku
 
Hi

thanks for that, just want to ask

what is the (N13) ?

also interested in what the <>”” mean. I was under the impression tha
text needed a special formula or something
 
Sorry. That should have been:

=IF(ISTEXT(N14),0,J14-I14-K14)

As for [=IF(P14<>””], <> means 'not equal to' and "" is an empt
string. So all together it means "if cell P14 is not empty." wha
comes after the first comma is what happens if the "IF" statement i
TRUE and what comes after the second comma is what gets executed if th
statement is FALSE.

SO, If P14 is not empty then this cell's value equals 0, otherwis
subtract the values of cells I14 and K14 from the value of cell J14.

That make sense? - Piku
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Need better macro 3
Return answer if..... 3
Error message if duplicate data entered 4
Formulas '=IF' 1
Formula '=IF' 1
XIRR Excel Problem 0
Error: #DIV/0! 12
Need help with formula translation please 1

Back
Top