Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
pgd pgd is offline
external usenet poster
 
Posts: 1
Default help extending formula to range


I am stuck with extending the formula to a range in a column. I need to
implement a "for loop" for the formula below..... Help!!!

This works:
=IF(C2="ABC",IF(D2="XYZ",COUNTIF(Q2,"done")))

I want something like:
=IF(C3:C1000="ABC",IF(D3:D1000="XYZ",COUNTIF(Q3:Q1 000,"done")))

Thanks in advance for your help!


--
pgd
------------------------------------------------------------------------
pgd's Profile: http://www.excelforum.com/member.php...o&userid=28141
View this thread: http://www.excelforum.com/showthread...hreadid=476569

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default help extending formula to range

i think this will work

=SUM(IF(C3:C1000="ABC",IF(D3:D1000="XYZ",IF(Q3:Q10 00="done",1,0))))

--


Gary


"pgd" wrote in message
...

I am stuck with extending the formula to a range in a column. I need to
implement a "for loop" for the formula below..... Help!!!

This works:
=IF(C2="ABC",IF(D2="XYZ",COUNTIF(Q2,"done")))

I want something like:
=IF(C3:C1000="ABC",IF(D3:D1000="XYZ",COUNTIF(Q3:Q1 000,"done")))

Thanks in advance for your help!


--
pgd
------------------------------------------------------------------------
pgd's Profile:
http://www.excelforum.com/member.php...o&userid=28141
View this thread: http://www.excelforum.com/showthread...hreadid=476569



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default help extending formula to range


The formula result is evaluated correctly, Thanks!

However, I still have an issue - the value displayed is "0". The cell
format is "general".


--
pgd
------------------------------------------------------------------------
pgd's Profile: http://www.excelforum.com/member.php...o&userid=28141
View this thread: http://www.excelforum.com/showthread...hreadid=476569

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default help extending formula to range

sorry, it's an array formula. after you enter it, do control-shift-enter
instead of enter

--


Gary


"pgd" wrote in message
...

The formula result is evaluated correctly, Thanks!

However, I still have an issue - the value displayed is "0". The cell
format is "general".


--
pgd
------------------------------------------------------------------------
pgd's Profile:
http://www.excelforum.com/member.php...o&userid=28141
View this thread: http://www.excelforum.com/showthread...hreadid=476569



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default help extending formula to range


cool! got it to work. Thanks very much!!!



--
pg
-----------------------------------------------------------------------
pgd's Profile: http://www.excelforum.com/member.php...fo&userid=2814
View this thread: http://www.excelforum.com/showthread.php?threadid=47656



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
Extending formula series... Murilo Excel Discussion (Misc queries) 1 July 17th 08 11:47 PM
Extending a range Macca1984 Excel Discussion (Misc queries) 5 March 6th 08 11:36 AM
Extending Sort Range Millington Excel Worksheet Functions 0 October 14th 07 03:24 PM
extending excel named range with vba Hugo & Monique Excel Programming 2 January 31st 05 06:17 PM


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