#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Help

Hi
Anyhelp?
I have wrote this formula
=IF(C15="","",MID(E15,1,FIND("-",E15,1)-1))
I want that if in column C is empty so the E empty, or if in C a
number then MID(E15,1,FIND("-",E15,1)-1)
Thanks in Advance
Jam

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Help

Your formula works perfectly!!

if C15 contains 1
and E15 contains 123-456
then the formula returns 123
--
Gary''s Student - gsnu2007


" wrote:

Hi
Anyhelp?
I have wrote this formula
=IF(C15="","",MID(E15,1,FIND("-",E15,1)-1))
I want that if in column C is empty so the E empty, or if in C a
number then MID(E15,1,FIND("-",E15,1)-1)
Thanks in Advance
Jam


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Help

=IF(ISNUMBER(C15),MID(E15,1,FIND("-",E15,1)-1),"")


" wrote:

Hi
Anyhelp?
I have wrote this formula
=IF(C15="","",MID(E15,1,FIND("-",E15,1)-1))
I want that if in column C is empty so the E empty, or if in C a
number then MID(E15,1,FIND("-",E15,1)-1)
Thanks in Advance
Jam


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Help

On Sep 3, 5:08 pm, Teethless mama
wrote:
=IF(ISNUMBER(C15),MID(E15,1,FIND("-",E15,1)-1),"")



" wrote:
Hi
Anyhelp?
I have wrote this formula
=IF(C15="","",MID(E15,1,FIND("-",E15,1)-1))
I want that if in column C is empty so the E empty, or if in C a
number then MID(E15,1,FIND("-",E15,1)-1)
Thanks in Advance
Jam- Hide quoted text -


- Show quoted text -


Thanks very much
Jam

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Help

On Sep 3, 4:46 pm, Gary''s Student
wrote:
Your formula works perfectly!!

if C15 contains 1
and E15 contains 123-456
then the formula returns 123
--
Gary''s Student - gsnu2007



" wrote:
Hi
Anyhelp?
I have wrote this formula
=IF(C15="","",MID(E15,1,FIND("-",E15,1)-1))
I want that if in column C is empty so the E empty, or if in C a
number then MID(E15,1,FIND("-",E15,1)-1)
Thanks in Advance
Jam- Hide quoted text -


- Show quoted text -


Thanks very much
Jam

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



All times are GMT +1. The time now is 09:27 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"