LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,514
Default COUNTIFS ref other sheet, common solution fail

Christian Michael wrote :
CURRENT FORMULA (Erroring)
=countifs(Q1L!$E$7:$H$400,"x",Q1L!$Y$7:$Y$400,Q1M! O35)
(The only active reference by color is "Q1M!O35")

GOAL: Use countifs to count cells marked "x" in rows matching a
second matching reference to show numbers marked.

CONTEXT: "x" is used to mark cells in columns to categorize log
entries. Another column delineates departments to which each log
entry belongs. Attempting to generate sum number of "x"-marked cells
by department.

Previously used countifs on other excel document with formula and
criteria on same sheet. Worked just fine.

TROUBLE: When changing 'reference 1' to a different sheet, activation
within formula (i.e. coloring to show recognition) diminishes to
black and formula fails to work.

ATTEMPTED SOLUTION: Googled issue, found this.
(Example) =COUNTIF(INDIRECT("'" & A2 & "'!$G$10:$G$203"),A12)

(Implemented 1)
=countifs(indirect("'"&Q1L"'!$E$7:$H$400"),"x",ind irect("'"&Q1L"'!$Y$7:$Y$400"),O35)

None of the references activate in color with the changed formula.

Any advice from anyone?


You need to prepend the ref cell addresses with the sheetname where
those refs point. So on "Sheet1"...

='Sheet2'!$A$1

...points to A1 on "Sheet2"!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


 
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
Countifs in Excel 2000? Alternative solution sought!!! Lisa Excel Discussion (Misc queries) 3 March 30th 10 12:20 AM
Countifs to Sumproduct for 2003 - was Simple Countifs.. from Fr Steve Excel Worksheet Functions 2 January 4th 09 05:36 PM
Data from diff sheets to one common sheet Ross Excel Worksheet Functions 4 August 7th 07 01:19 AM
Need Spread Sheet Solution Help [email protected] Excel Discussion (Misc queries) 3 May 1st 07 06:07 AM
inserting rows at common word in a sheet Ankur Excel Discussion (Misc queries) 0 August 10th 05 11:18 AM


All times are GMT +1. The time now is 05:18 AM.

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"