×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

#### Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

# Reference Formula

## Reference Formula

(OP)
How do I calculate something on one sheet from data on another?  I want to do something like this:

In a cell on Sheet1:

=Countif(Sheet2!A3:A500,"Y")

or

=Sheet2!Countif(A3:A500,"Y")

What is the proper syntax?  I want to avoid the intermediate step of making the calculation on Sheet2 and then have =Sheet2!A1 for my equation.
Replies continue below

### RE: Reference Formula

The first one is correct, so
=Countif(Sheet2!A3:A500,"Y")

Wouldn't it be much easier to just try both options to see which one worked, instead of posting it in this forum?

### RE: Reference Formula

(OP)
My problem is neither one worked.  I was hoping my errors would be close enough to describe what I was looking for.

### RE: Reference Formula

(OP)
It didn't work the first time but #1 works now.  I was getting an error for both.  Don't know what was wrong.

#### Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

#### Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Close Box

# Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!