Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dhoward via OfficeKB.com
 
Posts: n/a
Default Performing Multiple Functions in a Column

There are lots of posts on multiple functions but haven't seen anything that
seems to address my issue. I have a spreadsheet of variable length and I'm
trying to create a macro to automate getting out the needed data. I think I
have the steps of the macro figured out except for this last one.

I've pasted the formula =D5*C5 into an entire blank column, and Excel has
changed the cell reference to the appropriate row number. Then I deleted
errors creating blank cells. Now I want to sum the cells above each blank in
the column. Here's what the column looks like. How do write this function?

0.38
0.55
0.38
8.42
8.84
5.14

3.69
1.24
9.36
1.39

--
Message posted via http://www.officekb.com
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mallycat
 
Posts: n/a
Default Performing Multiple Functions in a Column


I'm not sure if you are trying to do this manual or in VBA. The
principle is
1) select all the blanks
2) use the autosum


To select the blanks, first select the entire column, then use
goto\special\blanks. This will select them all at once. Then just
click the AutoSum tool and you're done. You should ( I assume) be able
to do both of these things using Application.WorksheetFunction in VBA

Matt


--
Mallycat
------------------------------------------------------------------------
Mallycat's Profile: http://www.excelforum.com/member.php...o&userid=35514
View this thread: http://www.excelforum.com/showthread...hreadid=554743

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dhoward via OfficeKB.com
 
Posts: n/a
Default Performing Multiple Functions in a Column

Thanks. It worked!

Mallycat wrote:
I'm not sure if you are trying to do this manual or in VBA. Th
principle is
1) select all the blanks
2) use the autosum

To select the blanks, first select the entire column, then us
goto\special\blanks. This will select them all at once. Then jus
click the AutoSum tool and you're done. You should ( I assume) be abl
to do both of these things using Application.WorksheetFunction in VBA

Mat


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200606/1
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
Column picked randomly with probability relative to number of entr Neil Goldwasser Excel Worksheet Functions 4 May 30th 06 08:55 AM
parsing text in a multiple column count JK57 Excel Worksheet Functions 3 April 13th 06 11:03 AM
Performing a multiple column lookup JDay Excel Discussion (Misc queries) 1 December 1st 05 08:34 PM
creating a bar graph Johnfli Excel Discussion (Misc queries) 0 October 26th 05 08:16 PM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM


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