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


Hi!,

In cell K56 has below array formula
=SUM(IF(Full!$AJ$9:$AJ$2038=1,IF(Full!$AC$9:$AC$20 38=1,1,0)))

to

cell Q62
=SUM(IF(Full!$AP$9:$AP$2038=1,IF(Full!$AI$9:$AI$20 38=1,1,0)))

I like to add in another condition to the all the array formulas in
cell K56:Q62.

e.g. the new formula in Cell K56 becomes
=SUM(IF(Full!$K$9:$K$2038=4,IF(Full!$AJ$9:$AJ$2038 =1,IF(Full!$AC$9:$AC$2038=1,1,0))))

How to use vba to add in the extra condition to the existing array
formula?

Regards
Michael


--
Michael168
------------------------------------------------------------------------
Michael168's Profile: http://www.excelforum.com/member.php...nfo&userid=605
View this thread: http://www.excelforum.com/showthread...hreadid=273640

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Adds Extra Condition

Hi
you may consider using SUMPRODUCT. See:
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

--
Regards
Frank Kabel
Frankfurt, Germany


Michael168 wrote:
Hi!,

In cell K56 has below array formula
=SUM(IF(Full!$AJ$9:$AJ$2038=1,IF(Full!$AC$9:$AC$20 38=1,1,0)))

to

cell Q62
=SUM(IF(Full!$AP$9:$AP$2038=1,IF(Full!$AI$9:$AI$20 38=1,1,0)))

I like to add in another condition to the all the array formulas in
cell K56:Q62.

e.g. the new formula in Cell K56 becomes

=SUM(IF(Full!$K$9:$K$2038=4,IF(Full!$AJ$9:$AJ$2038 =1,IF(Full!$AC$9:$AC$
2038=1,1,0))))

How to use vba to add in the extra condition to the existing array
formula?

Regards
Michael


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
Chart adds in extra date values on the X axis Pete Rooney Charts and Charting in Excel 7 May 2nd 23 11:43 AM
When I save a TAB Delimited file Excel it adds extra quotations Mohaukla Excel Discussion (Misc queries) 0 October 27th 07 03:26 AM
importing xml files adds extra zeros P Boric Setting up and Configuration of Excel 1 May 22nd 07 02:21 PM
Problem: Copying a cell that contains line breaks adds extra quotes [email protected] Excel Discussion (Misc queries) 0 November 2nd 06 07:58 PM
special formatting adds extra zeroes nosnil14 Excel Worksheet Functions 0 February 1st 06 03:51 PM


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