Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-12-2011, 01:57 AM
jujuwillis's Avatar
jujuwillis jujuwillis is offline Vlookup, offset, match & countif Windows XP Vlookup, offset, match & countif Office 2010 32bit
Advanced Beginner
Vlookup, offset, match & countif
 
Join Date: Apr 2006
Location: Dunstable, England
Posts: 77
jujuwillis is an unknown quantity at this point
Default Vlookup, offset, match & countif

Attached is a Student Record & Database.xlsx workbook and a document explaining the purpose and structure of it.



I have a slight problem, I think I know what the problem is, but I don't know to fix it, I know that it will be a der moment but reconciling the records to the sheet has left me a bit brain dead.

Short Explanation
The Student Sheet has a data validation list next to Member's Name, this populates the membership no and changes the picture.

This also populates all the rows from the Records sheet = to the member using the formula this is

=IFERROR(VLOOKUP(G$146,OFFSET(Membership_No,MATCH( MembNo,Membership_No,0),4,COUNTIF(Membership_No,Me mbNo),6),6,0),"Null")

This works fine. The problem I have is:

When selecting the member the records return the first record from the row above, which is a different member and omits the last record.

The Record sheet is sorted by Membership Name. I have tried to sort by membership no in the record sheet but still get the same result.

i.e Student Sheet is showing Barry Gibson, but the code AO1 is returning the result from Bob Ajob.

All names are completely false so there is no Data Proctection issues.

I have created this workbook following Mr Excel and Excelisin Trick 42 for the pictures in the Student Sheet which works fine, and Excel Magic Trick #158 Vlookup w 2 Variables as criteria on the Youtube channel. I have used VLOOKUP several times before, by this is my first time using OFFSET, MATCH & COUNTIF.
Thank you in advance.

I would appreciate some help or advice to correct this issue
Attached Files
File Type: xlsx Student Records & Database.xlsx (319.7 KB, 29 views)
File Type: docx Student Record Sheet.docx (50.3 KB, 18 views)
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup, offset, match & countif using a cell content as a string with COUNTIF geoffm Excel 1 08-16-2011 11:31 AM
Vlookup, offset, match & countif Countif with 2 criteria ibrahimaa Excel 3 05-23-2011 11:23 AM
Vlookup, offset, match & countif Vlookup and If conditions together along with match formulas david_benjamin Excel 2 04-11-2011 11:30 AM
Vlookup, offset, match & countif Problems with Match Theofficehedgehog Excel 3 07-26-2009 02:07 PM
Need another formula to match my last one tinkertron Excel 2 04-29-2009 02:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:45 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft