Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6583691
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:26:32+00:00 2026-05-25T16:26:32+00:00

Assume I have an Excel 2007 sheet with the following data in column A:

  • 0

Assume I have an Excel 2007 sheet with the following data in column A:

  1. word
  2. word2
  3. other3
  4. word

Assume I then apply this formula to the range: =IF(COUNTIF(A:A,A1)=1,0,1).

This results in returning 1 if a cell matches any other cell in the column. If I used this formula in conditional formatting and apply it to all four cells, then the cells in rows 1 and 4 above will be formatted. Excel automatically adjusts A1 in the formula to A2, A3 or A4, since it is a relative cell reference with out the ‘$’ signs.

However, when I test this formula with the Application.Evaluate function, it always evaluates against cell A1, no matter what range I am using.

For example, if I get the range of a single cell, say cell A3 and I evaluate the formula from the cell.FormatConditions property of that cell, it will evaluate to 1, even though it does not match any other cell in the column.

Can the Evaluate function not properly use relative cell references?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T16:26:32+00:00Added an answer on May 25, 2026 at 4:26 pm

    See http://www.decisionmodels.com/calcsecretsh.htm for information on evaluate limitations

    Relative references in the Evaluate string are treated as absolute, unless they are contained in defined names in which case the defined name is evaluated with respect to cell A1.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am using excel 2007... i have the following ranges... D E G H
Assume I have an Excel add-in called test.xlam that contains this procedure: Sub TestAbb()
I am having few excel files where each file have multiple workbooks. Assume following
Assume I have a C# class like this: [XmlRoot(floors)] public class FloorCollection { [XmlElement(floor)]
Assume I have the following string: Hellotoevryone<img height=115 width=150 alt= src=/Content/Edt/image/b4976875-8dfb-444c-8b32-cc b47b2d81e0.jpg />Iamsogladtoseeall. This
Assume I have a application that stores data,gets data and processes data and stores
Assume I have this domain object... public class SpansMultipleTables { public int CommonID {get;
Assume we have a single Windows form with a button called SimpleButton1. The following
Assume I have the following input in Pig: some And I would like to
I have a question regarding string modification. Let's assume that we have the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.