Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default please help on this one...

hi ...please help

i have the following formula :

=LEFT(F1;FIND("*";F1)-1)+LEFT(F2;FIND("*";F2)-1)+LEFT(F3;FIND("*";F3)-1)+LEFT(F4;FIND("*";F4)-1)

is there a way to make it shorter....??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default please help on this one...

Try this:

=SUMPRODUCT(--(LEFT(F1:F4;FIND("*";F1:F4)-1)))

--
Biff
Microsoft Excel MVP


"pierre" wrote in message
...
hi ...please help

i have the following formula :

=LEFT(F1;FIND("*";F1)-1)+LEFT(F2;FIND("*";F2)-1)+LEFT(F3;FIND("*";F3)-1)+LEFT(F4;FIND("*";F4)-1)

is there a way to make it shorter....??



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default please help on this one...

thank you sir VERY MUCH...........just keep it on ;)
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default please help on this one...

On Thu, 18 Jun 2009 08:12:05 -0700, pierre
wrote:

=LEFT(F1;FIND("*";F1)-1)+LEFT(F2;FIND("*";F2)-1)+LEFT(F3;FIND("*";F3)-1)+LEFT(F4;FIND("*";F4)-1


Try this formula:

=SUM(1*LEFT(F1:F4;FIND("*";F1:F4)-1))

Note: This is an array formula that should be entered by
CTRL+SHIFT+ENTER rather than just ENTER.

Hope this helps / Lars-Åke

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default please help on this one...

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"pierre" wrote in message
...
thank you sir VERY MUCH...........just keep it on ;)



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 01:05 PM.

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"