• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 237
  • Last Modified:

Problem with IF formula


I have a simple form where you fill out info, and it gets put in a review tab. Under "associate review" I want to be able to review the last 20 entries from the review sheet. And, I also have some reporting tabs.

I can't get the formulas to work in the associate review tab to pull the proper data from the review tab.  formula.xls
1 Solution
On your Associate Review sheet, you have #REF! errors in the formulas, these must be corrected for the VLOOKUP formulas on the Reviews sheet to work.
oops, sorry didn't read the question well enough!
barry houdiniCommented:
What does "last 20 entries" mean? You only have 13 entries there now so it's not very clear. I assume you want the lowest down positionally, so if there are entries in Review sheet down to row 100 that your "associate Review" will show the last 20, i.e. rows 81 to 100.

I think you have a more complex formula than you need - try this setup using a "helper" column. In Associate Review cell AE2 put this formula


copy down to AE21

Now in Associate Review A2 put this formula


and copy across and down to AA21

Of course this will also pick up some errors from  the Review sheet. If you want to hide the errors try the above (second) formula with IFERROR, i.e.


Hide column AE if required, see attached

regards, barry
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

nomiosAuthor Commented:

Thank you for your reply, but, this isn't exactly what I'm looking for. Let me try to explain a little more to clarify.

This sheet is a method of tracking performance. I wanted it to show the last 20 performance reviews from one particular person. I don't want it to track every single reference created for every person. That's what the review tab is for.

So, in the associate review tab, I want to be able to type in a name in D24. Cells A2-A20 are set to equal the name from D24. Once this occurs, I want it to pull data from the last 20 entries in the review tab from that particular person's name.

Hi, Nomios.

Please attached. Few notes...
(1) You mention last 20 cases, but file showed 21 so I did that instead. Obviously it's a trivial change if you actually want 20.
(2) I've add a number of helper columns/cells on both sheets. These are highlighted in yellow.
(3) I've unlocked "Reviews".
(4) I've added a load of test cases.

Thanks, Nomios!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now