Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default L14=total, if P14="text", L14=0

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

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default L14=total, if P14="text", L14=0

In L14:

=IF(P14<””,0,J14-I14-K14)

- Piku

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default L14=total, if P14="text", L14=0

or if you specifically care about text to the EXCLUSION of numeric dat
in P14 then:

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

- Piku

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default L14=total, if P14="text", L14=0

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

--
Message posted from http://www.ExcelForum.com

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default L14=total, if P14="text", L14=0

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

--
Message posted from http://www.ExcelForum.com



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default L14=total, if P14="text", L14=0

Thanks for the help

--
Message posted from http://www.ExcelForum.com

  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default L14=total, if P14="text", L14=0

NP - Piku

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text "comparison" operator for "contains" used in an "IF" Function Pawaso Excel Worksheet Functions 4 April 4th 23 11:35 AM
=TEXT(L9-K9,"h:mm") How can I sum the results to a total value be013fc Excel Worksheet Functions 4 July 18th 09 05:48 AM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Linking two "total" pages to create a "Complete Total" page Jordon Excel Worksheet Functions 0 January 10th 06 11:18 PM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


All times are GMT +1. The time now is 07:38 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"