Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Formatting SUMPRODUCT

I apologize for asking so many questions the last two days. All of my
Excel books are essentially useless for the questions that I have been
asking.

On top of this I don't understand the information that I have from
searching this group.

How can I format this in VBA?

Application.SumProduct(--Range(Rng1Addr), --Range(Rng2Addr))

This does nothing when executed.

Where Rng1Addr = "A1:A3" and Rng2Addr - "B1:B3" and both are defined as
Strings.

For reference: Rng1Addr = Rng1.Offset(-WorksheetFunction.Min(YearDelta,
Fac_Depr), 0) _
.Resize(WorksheetFunction.Min(YearDelta + 1, Fac_Depr + 1),
1).Address

Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default Formatting SUMPRODUCT

Hi Floyd,

I apologize for asking so many questions the last two

days. All of my

Why should you? Isn't that what a newsgroup exists for?



Application.SumProduct(--Range(Rng1Addr), --Range

(Rng2Addr))

Try

SumProduct = Application.WorksheetFunction.SumProduct(Range
("A1", "A3"), Range("B1", "B3"))

Best

Markus


This does nothing when executed.

Where Rng1Addr = "A1:A3" and Rng2Addr - "B1:B3" and both

are defined as
Strings.

For reference: Rng1Addr = Rng1.Offset(-

WorksheetFunction.Min(YearDelta,
Fac_Depr), 0) _
.Resize(WorksheetFunction.Min(YearDelta + 1,

Fac_Depr + 1),
1).Address

Thanks in advance.

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Formatting SUMPRODUCT

Markus,

Thank you.

I will try to split the range from "A1:A3" into "A1", "A3".

Cheers.

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
Sumproduct with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
expanding custom formatting without removing existing cell formatting? Keith Excel Worksheet Functions 3 December 27th 06 01:54 PM


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