Solved

# countifs formula with indirects

Posted on 2014-11-12
88 Views
Hi Experts  EXCEL 2010

Need a countifs formula to do the following:

If cell A1 sheet apple is red, then look in sheet pivot column b2  ('pivot'!b15:b200) range formula. And count all the reds in the data range and also look in column  g2 ('pivot'!g15;g200) formula..and count the "(blank)"..to return the result.

Apologies  unable to upload sample file.
0
Question by:route217
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 7
• 4

LVL 26

Expert Comment

ID: 40437334
when u say red you mean the font color or background color?
0

LVL 30

Expert Comment

ID: 40437425
Can you post a sample please ?
gowflow
0

Author Comment

ID: 40437464
Hi how flow
Thanks  for the feedback..nearly worked it out..how would I amend

=countifs(indirect('SheetName'!b3),"red",indirect('SheetName'!),"<Â£1M")

THE ANSWER is 20 getting 0..cannot see my error
0

LVL 30

Expert Comment

ID: 40437481
=countifs(indirect('SheetName'!b3),"red",indirect('SheetName'!),"<Â£1M")

You are missing something after te second SheetName or the ) is wrong what is it ? it gives an error
gowflow
0

Author Comment

ID: 40437497
No error  just returns zero  value.
0

LVL 30

Expert Comment

ID: 40437510
sorry but
indirect('SheetName'!)
means nothing

you need to have a cell after !

gowflow
0

Author Comment

ID: 40437524
Sorry c3...and still zero..error  in posting question on my part.
0

LVL 30

Expert Comment

ID: 40437569
mmmm YOU from all the people in here should know better than that !!!!

let me see
0

LVL 30

Expert Comment

ID: 40437575
Why don't you post this sample workbook and make my life easier !!!!

I tried
=COUNTIFS(INDIRECT(SheetName!B3),"red",INDIRECT(SheetName!C3),"<Â£1M")

and get #REF! error

please if you need help help us when we ask for sample workbook
gowflow
0

Author Comment

ID: 40437576
I think it to do with < not begin recongised  as text..
0

LVL 30

Expert Comment

ID: 40437582
pls let us think ... we are here for that simply post a sample that has the data.
THANK YOU
gowflow
0

LVL 30

Accepted Solution

gowflow earned 500 total points
ID: 40437708
got it
This
"<Â£1M"

by this
"<1000000"

gowflow
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference texâ€¦
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, tâ€¦
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
###### Suggested Courses
Course of the Month6 days, 21 hours left to enroll