LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default SUMPRODUCT rounding up values

I am currently using a formula which allocates a pre-designated weight to an
abbreviated text code:

An example of the list on sheet 5 starting in A1 and B1 is:-

SO 36.00
DO 54.00
GH 10.50
HD 8.00
FF 74.00
DW 47.00
WD 92.00
CH 20.00
EH 11.00
WM 78.00
FRE 40.00
FRI 39.50

And the formula I am using on the relevant rows on the other sheets is:

=IF(B6="","",SUMPRODUCT( ( LEN( B6) - LEN( SUBSTITUTE( LOWER( B6), LOWER(
Code), "" ) ) ) / ( LEN( Code) + ( LEN( Code ) = 0 ) ),Weight ))

It works fine apart from it seems to be rounding up the values e.g. 39.50
from the weights sheet appears as 40 on sheet 1.

Can anyone please advise me how I can get the values to show the same value
as they appear in the table against the relevant text reference.

The text codes need to be used in various combinations in the same cell of
the main sheet which gives a cumulative sum total so can appear as wm, dw,
ff, fri€¦.etc

I hope this explains my problem ok.

 
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
Average only first number of actual values [email protected] Excel Worksheet Functions 8 November 30th 06 06:21 PM
How to Search, Count, Match and Post Values vincentws Excel Worksheet Functions 4 August 17th 06 05:20 PM
URGENT: Please Advise. SumProduct and Operand Question Brent E Excel Discussion (Misc queries) 8 May 24th 06 07:48 PM
SUMPRODUCT on multiple values FrankTimJr Excel Discussion (Misc queries) 1 November 8th 05 06:31 PM
Obtaining Max and Min Values with Sumproduct Timmy Mac1 Excel Discussion (Misc queries) 2 October 20th 05 05:33 PM


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