Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default I think this is difficult - can it be done?

Hi All,

Sorry for the vague header but l couldn't figure out a sutiable title.

I would like to know if there is a way to do this:

T1.25
L2.00
T0.25
--------
3.00 Total of column ignoring letter prefixes

If it makes it easier the prefixes could be suffixes instead. Spaces
or characters such as : # could be used to seperate the letters from
the figures.

This is required for a 'Resource Planner' that l am developing that is
required to span as many days as possible accross the columns so using
a helper column is not a practical option.

Additionally l would like to apply group sub-totals (preferably using
data/subtotals) and still have the column summed ignoring the letters.

Has anyone got any ideas please?

TIA

Regards

Michael Beckinsale

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default I think this is difficult - can it be done?

=SUMPRODUCT(--(--RIGHT(A1:A3,LEN(A1:A3)-1)))

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"michael.beckinsale" wrote in message
oups.com...
Hi All,

Sorry for the vague header but l couldn't figure out a sutiable title.

I would like to know if there is a way to do this:

T1.25
L2.00
T0.25
--------
3.00 Total of column ignoring letter prefixes

If it makes it easier the prefixes could be suffixes instead. Spaces
or characters such as : # could be used to seperate the letters from
the figures.

This is required for a 'Resource Planner' that l am developing that is
required to span as many days as possible accross the columns so using
a helper column is not a practical option.

Additionally l would like to apply group sub-totals (preferably using
data/subtotals) and still have the column summed ignoring the letters.

Has anyone got any ideas please?

TIA

Regards

Michael Beckinsale



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default I think this is difficult - can it be done?

One way,

Using a prefix of # before your data you could achieve what you require with
text to columns by:-

Select the column
Data|text to columns

Select the delimeter # and then only import the number part which in effect
removes all the prefix data from the numbers and leaves the numbers in the
same column.

If the numbers are always a fixed width then you could use that instead of a
delimeter to decide on where to split the data.

Mike

"michael.beckinsale" wrote:

Hi All,

Sorry for the vague header but l couldn't figure out a sutiable title.

I would like to know if there is a way to do this:

T1.25
L2.00
T0.25
--------
3.00 Total of column ignoring letter prefixes

If it makes it easier the prefixes could be suffixes instead. Spaces
or characters such as : # could be used to seperate the letters from
the figures.

This is required for a 'Resource Planner' that l am developing that is
required to span as many days as possible accross the columns so using
a helper column is not a practical option.

Additionally l would like to apply group sub-totals (preferably using
data/subtotals) and still have the column summed ignoring the letters.

Has anyone got any ideas please?

TIA

Regards

Michael Beckinsale


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default I think this is difficult - can it be done?

Hi Bob,

Many thanks, l didn't think of that! A difficult problem made easy
when you know how.

Any ideas on how that formula could be applied instead of the usual
sub-totals formula (preferable using data/subtotals) or by using VBA.
My main concern is performance but it is also important that the
subtotals are applied with grouping so that the + / - signs can be
used to expand & collapse.

The number of columns required is approx 270 and approx 500 rows with
100 subtotals. The subtotals will be conditionally formatted.

Mike - thanks for your input but l think you missed the bit about
'helper' colomns.

TIA

Regards

MB



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
difficult x taol Excel Programming 5 November 20th 06 05:35 AM
Help, too difficult for me. Menno Excel Worksheet Functions 4 January 19th 06 01:53 PM
Difficult but do-able? Jaydubs Excel Discussion (Misc queries) 8 October 6th 05 11:01 AM
Is this difficult??? mingolo Excel Programming 1 September 15th 05 07:03 PM
Ok I have to be difficult Dominique Feteau[_2_] Excel Programming 7 August 26th 05 05:24 PM


All times are GMT +1. The time now is 10:47 PM.

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

About Us

"It's about Microsoft Excel"