Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default ANY SPECIAL ARRAY OR OTHER FORMULA

I have my data laid out in the format as follows:

A B C D E F
90 10 200 11 450 8

In the above example columns A, C & E reflect the number of units while
columns B, D & F declare the selling rate per unit for the different products.

I need the amount of Total Sales in Column G and desparately need an array
type of special formula to compute (A1*B1+C1*D1+E1*F1) easily as the Actual
Data comprises of around 40 products containing around 40 different rates.

Help is desparately required and shall be highly obliged.

Thanx
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default ANY SPECIAL ARRAY OR OTHER FORMULA

Try this:

=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))

Note how the ranges are staggered.

Biff

"FARAZ QURESHI" wrote in message
...
I have my data laid out in the format as follows:

A B C D E F
90 10 200 11 450 8

In the above example columns A, C & E reflect the number of units while
columns B, D & F declare the selling rate per unit for the different
products.

I need the amount of Total Sales in Column G and desparately need an array
type of special formula to compute (A1*B1+C1*D1+E1*F1) easily as the
Actual
Data comprises of around 40 products containing around 40 different rates.

Help is desparately required and shall be highly obliged.

Thanx



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default ANY SPECIAL ARRAY OR OTHER FORMULA

WOW!!!!!!!!!!

YAHOOOO!!!!!!!!!!!!!!

THANXXXXXXXXX!!!!!!!!!!!!!!!!!

"T. Valko" wrote:

Try this:

=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))

Note how the ranges are staggered.

Biff

"FARAZ QURESHI" wrote in message
...
I have my data laid out in the format as follows:

A B C D E F
90 10 200 11 450 8

In the above example columns A, C & E reflect the number of units while
columns B, D & F declare the selling rate per unit for the different
products.

I need the amount of Total Sales in Column G and desparately need an array
type of special formula to compute (A1*B1+C1*D1+E1*F1) easily as the
Actual
Data comprises of around 40 products containing around 40 different rates.

Help is desparately required and shall be highly obliged.

Thanx




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default ANY SPECIAL ARRAY OR OTHER FORMULA

Dear Mr. Valko,

I sure am thankful for your all your help. That was an excellent approach.

However, I have another question!

Suppose, I want to compute the weighted average rate. In other words yours
recommended

[=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))]

being divided by (A1+C1+E1). Any other similar special formula to sum-up the
components only if rate is availabale???

e.g. if D1 is blank or equal to zero corresponding number of units in C1 is
not considered in calculation of divisor for accurate weighted average rate.

"T. Valko" wrote:

Try this:

=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))

Note how the ranges are staggered.

Biff

"FARAZ QURESHI" wrote in message
...
I have my data laid out in the format as follows:

A B C D E F
90 10 200 11 450 8

In the above example columns A, C & E reflect the number of units while
columns B, D & F declare the selling rate per unit for the different
products.

I need the amount of Total Sales in Column G and desparately need an array
type of special formula to compute (A1*B1+C1*D1+E1*F1) easily as the
Actual
Data comprises of around 40 products containing around 40 different rates.

Help is desparately required and shall be highly obliged.

Thanx




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default ANY SPECIAL ARRAY OR OTHER FORMULA

Try this:

=SUMPRODUCT((MOD(COLUMN(A1:E1),2)=1)*A1:E1,(MOD(CO LUMN(B1:F1),2)=0)*B1:F1)/SUMPRODUCT(--(MOD(COLUMN(A1:E1),2)=1),--(B1:F1<0),A1:E1)

Biff

"FARAZ QURESHI" wrote in message
...
Dear Mr. Valko,

I sure am thankful for your all your help. That was an excellent approach.

However, I have another question!

Suppose, I want to compute the weighted average rate. In other words yours
recommended

[=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))]

being divided by (A1+C1+E1). Any other similar special formula to sum-up
the
components only if rate is availabale???

e.g. if D1 is blank or equal to zero corresponding number of units in C1
is
not considered in calculation of divisor for accurate weighted average
rate.

"T. Valko" wrote:

Try this:

=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))

Note how the ranges are staggered.

Biff

"FARAZ QURESHI" wrote in message
...
I have my data laid out in the format as follows:

A B C D E F
90 10 200 11 450 8

In the above example columns A, C & E reflect the number of units while
columns B, D & F declare the selling rate per unit for the different
products.

I need the amount of Total Sales in Column G and desparately need an
array
type of special formula to compute (A1*B1+C1*D1+E1*F1) easily as the
Actual
Data comprises of around 40 products containing around 40 different
rates.

Help is desparately required and shall be highly obliged.

Thanx








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 553
Default ANY SPECIAL ARRAY OR OTHER FORMULA

WOW!!!!!!!!!!

I CAN'T BELIEVE THIS!!!!!!!!!!!!!!

YAHOOOO!!!!!!!!!!!!!!

YOU ARE GREAT!!!!!!!!!!!!!!!!

YOU SURE HAVE MADE MY LIFE EASY!!!!!!!!!!!!!!!

THANXXXXXXXXX!!!!!!!!!!!!!!!!!


"T. Valko" wrote:

Try this:

=SUMPRODUCT((MOD(COLUMN(A1:E1),2)=1)*A1:E1,(MOD(CO LUMN(B1:F1),2)=0)*B1:F1)/SUMPRODUCT(--(MOD(COLUMN(A1:E1),2)=1),--(B1:F1<0),A1:E1)

Biff

"FARAZ QURESHI" wrote in message
...
Dear Mr. Valko,

I sure am thankful for your all your help. That was an excellent approach.

However, I have another question!

Suppose, I want to compute the weighted average rate. In other words yours
recommended

[=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))]

being divided by (A1+C1+E1). Any other similar special formula to sum-up
the
components only if rate is availabale???

e.g. if D1 is blank or equal to zero corresponding number of units in C1
is
not considered in calculation of divisor for accurate weighted average
rate.

"T. Valko" wrote:

Try this:

=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))

Note how the ranges are staggered.

Biff

"FARAZ QURESHI" wrote in message
...
I have my data laid out in the format as follows:

A B C D E F
90 10 200 11 450 8

In the above example columns A, C & E reflect the number of units while
columns B, D & F declare the selling rate per unit for the different
products.

I need the amount of Total Sales in Column G and desparately need an
array
type of special formula to compute (A1*B1+C1*D1+E1*F1) easily as the
Actual
Data comprises of around 40 products containing around 40 different
rates.

Help is desparately required and shall be highly obliged.

Thanx






  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default ANY SPECIAL ARRAY OR OTHER FORMULA

Your'e welcome. Thanks for the feedback!

Biff

"FARAZ QURESHI" wrote in message
...
WOW!!!!!!!!!!

I CAN'T BELIEVE THIS!!!!!!!!!!!!!!

YAHOOOO!!!!!!!!!!!!!!

YOU ARE GREAT!!!!!!!!!!!!!!!!

YOU SURE HAVE MADE MY LIFE EASY!!!!!!!!!!!!!!!

THANXXXXXXXXX!!!!!!!!!!!!!!!!!


"T. Valko" wrote:

Try this:

=SUMPRODUCT((MOD(COLUMN(A1:E1),2)=1)*A1:E1,(MOD(CO LUMN(B1:F1),2)=0)*B1:F1)/SUMPRODUCT(--(MOD(COLUMN(A1:E1),2)=1),--(B1:F1<0),A1:E1)

Biff

"FARAZ QURESHI" wrote in message
...
Dear Mr. Valko,

I sure am thankful for your all your help. That was an excellent
approach.

However, I have another question!

Suppose, I want to compute the weighted average rate. In other words
yours
recommended

[=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))]

being divided by (A1+C1+E1). Any other similar special formula to
sum-up
the
components only if rate is availabale???

e.g. if D1 is blank or equal to zero corresponding number of units in
C1
is
not considered in calculation of divisor for accurate weighted average
rate.

"T. Valko" wrote:

Try this:

=SUMPRODUCT(((MOD(COLUMN(A1:E1),2)=1)*A1:E1)*((MOD (COLUMN(B1:F1),2)=0)*B1:F1))

Note how the ranges are staggered.

Biff

"FARAZ QURESHI" wrote in
message
...
I have my data laid out in the format as follows:

A B C D E F
90 10 200 11 450 8

In the above example columns A, C & E reflect the number of units
while
columns B, D & F declare the selling rate per unit for the different
products.

I need the amount of Total Sales in Column G and desparately need an
array
type of special formula to compute (A1*B1+C1*D1+E1*F1) easily as the
Actual
Data comprises of around 40 products containing around 40 different
rates.

Help is desparately required and shall be highly obliged.

Thanx








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
Special Lookup Formula DoooWhat Excel Discussion (Misc queries) 4 March 13th 07 01:03 AM
Prefacing a Copy/Paste Special formula with text Bob Smith Excel Worksheet Functions 1 January 15th 07 08:37 AM
Paste Special Formula LymaBeane Excel Worksheet Functions 4 October 12th 06 09:09 PM
special sum formula tjb Excel Worksheet Functions 4 September 9th 05 06:05 AM
How does special formula apply to conditional formatting? Frances Excel Discussion (Misc queries) 1 August 22nd 05 01:09 PM


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