Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 51
Default Macro Help for a BIG Calculation

I have a formula as under in Colm J starting from Row 2 & down to Row 55000.

=IF(SUMPRODUCT(--($A2=$A$2:A2),--($C2=$C$2:C2),--($E2=$E$2:E2))1,0,1)

I am using the formula to determine unique supplier count based on
region/Supplier/Commodity.

This formula slows down the workbook & my attempts to do manual calculation
(shift+F9) is not responsive. The Calculation Cells : information is not
progressing beyond 5% and finallt Excel says, it is not responding.

Help Please

Can anybody help by devising a macro

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Macro Help for a BIG Calculation

You might find this better.

In F2 add

=A2&C2&E2

In G2, add

=--(COUNTIF($F$2:F2,F2)=1)

copy F2. G2 down

--
HTH

Bob

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

"Ananth" wrote in message
...
I have a formula as under in Colm J starting from Row 2 & down to Row
55000.

=IF(SUMPRODUCT(--($A2=$A$2:A2),--($C2=$C$2:C2),--($E2=$E$2:E2))1,0,1)

I am using the formula to determine unique supplier count based on
region/Supplier/Commodity.

This formula slows down the workbook & my attempts to do manual
calculation
(shift+F9) is not responsive. The Calculation Cells : information is not
progressing beyond 5% and finallt Excel says, it is not responding.

Help Please

Can anybody help by devising a macro



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
macro to go to cell based upon a calculation MARK M Excel Discussion (Misc queries) 7 November 30th 08 01:28 AM
Product calculation macro MikeD1224 New Users to Excel 1 June 15th 07 10:36 PM
MACRO TO SET THE AUTOMATIC CALCULATION OB Excel Discussion (Misc queries) 2 November 15th 06 05:36 PM
how to run a macro when a calculation equals a certin number Kevin Jones Excel Worksheet Functions 1 October 25th 05 09:40 PM
how to run a macro when a calculation equals a certin number Kevin Jones Excel Worksheet Functions 0 October 25th 05 09:23 PM


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