#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Array Functions

I am currently trying to add data together to get a total, once slight snag
the data is set out within different cells which are made of of individual
figures for different days.

Example

16/07/07 17/07/07 18/07/07
1 - 1 - 3 1 - 1 - 3 1 - 1 -3

So I want my totals to be 1 + 1 =3 from cell A1 through to A3 but my total
would be 3 - 3 - 9 as the first two positions represent say total blue pens
and red pens and the last position gives me the over all number of pens we
have in stock.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Array Functions

You would be better off keeping blue-pen count, red-pen count and total in
three cells
Say these are A2,B2 and C2
Select A1:C1 and use Merge to get the date to span all three columns
Adjust cell width if needed
Now you can easily do calculations on the cells

But the data is already entered and there is lots of it?
Use Data | Text to Columns to separate the numbers in separate cell and
discard the hyphens

It sound like lots of work but the way you have the data is asking for
trouble - really!
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email

"stefburgas" wrote in message
...
I am currently trying to add data together to get a total, once slight snag
the data is set out within different cells which are made of of individual
figures for different days.

Example

16/07/07 17/07/07 18/07/07
1 - 1 - 3 1 - 1 - 3 1 - 1 -3

So I want my totals to be 1 + 1 =3 from cell A1 through to A3 but my total
would be 3 - 3 - 9 as the first two positions represent say total blue
pens
and red pens and the last position gives me the over all number of pens we
have in stock.



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
Array functions anand Excel Worksheet Functions 6 January 26th 07 11:33 PM
array functions Barak Excel Worksheet Functions 5 September 29th 06 03:53 AM
efficiency: database functions vs. math functions vs. array formula nickname Excel Discussion (Misc queries) 2 July 14th 06 04:26 AM
Array Functions Jaytee Excel Discussion (Misc queries) 11 September 13th 05 12:03 AM
Array functions rmellison Excel Discussion (Misc queries) 8 September 9th 05 09:22 AM


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