LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default formula needed for this one...

OK.....This isn't very elegant...but, here goes:

With
A1: 20: 5- 2- 4


B1: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,": ","|"),"- ","||",1),"-
","|||")&"||||"

C1:
=SUMPRODUCT(MID(B1,FIND({"|","||","|||"},B1)+{1,2, 3},FIND({"||","|||","||||"},B1)-FIND({"|","||","|||"},B1)-{1,2,3})*{10,7,3})/LEFT(A1,FIND(":",A1)-1)

Note: Watch out for text wrap in the display

With that example, C1 returns 3.8


Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"ozwunder321" wrote:


hi,
this appears in one cell,

20: 5- 2- 4

How make a formula using the above,

(5*10+2*7+4*3)/20 in another cell.

thanks




--
ozwunder321

 
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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
IF-THEN Formula help needed Brandty123 Excel Worksheet Functions 7 July 7th 06 12:05 AM
Formula needed Excel Worksheet Functions 2 November 25th 05 05:07 PM
continuous sum formula needed NN Excel Discussion (Misc queries) 2 November 4th 05 06:49 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


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