📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Excel Formula Problem?

Tony_H_3
Tony_H_3 Posts: 2,644
Part of the Furniture 1,000 Posts Combo Breaker
Forumite
Right, I am attempting to use the "countif" function and it works fine if I enter a value. Example:

=countif(D4:D15, "<=500")

However 500 is a variable amount so if I enter the formula like this. Example:

=countif(D4:D15, "<=B2")

it doesn't produce the desired result, how can I get around this?

Comments

This discussion has been closed.
★ ★ ★ Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 355.9K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.2K Spending & Discounts
  • 248.4K Work, Benefits & Business
  • 606.1K Mortgages, Homes & Bills
  • 179K Life & Family
  • 263.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.