Hi I am trying to get an instance result from using vlookup or something similar that draws the information from a separate sheet.
Please see the attached file for details.
Hi I am trying to get an instance result from using vlookup or something similar that draws the information from a separate sheet.
Please see the attached file for details.
hi john dalton. are you still using Excel 2003 like your profile says? your file is in xlsx. it's important for us to know, in order to give shorter & more efficient formulas. i have no idea what you need in column C of "outcome" sheet. i'm guessing the date if the client did not attend for 2nd time. for Excel 2007 & above, you can use:
Formula:
Please Login or Register to view this content.
if it only appears once, you may consider:
=IFERROR(INDEX(data!$C$3:$C$15,MATCH($A5&"Did not attend",data!$A$3:$A$15&data!$B$3:$B$15,0)),"")
or:
=SUMIFS(data!$C$3:$C$15,data!$A$3:$A$15,$A5,data!$B$3:$B$15,"Did not attend")
the 1st 2 formulas are array formulas...confirmed by pressing CTRL-SHIFT-ENTER to activate the array. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL-SHIFT-ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
you can hide the zeros for the 3rd formula by selecting the cells, right-click -> Format cells -> Custom:
d/m/yyyy;;
just add two semi-colons to whatever format you have
in Excel 2003 & below:
=SUMPRODUCT(data!$C$3:$C$15,(data!$A$3:$A$15=$A5)*(data!$B$3:$B$15="Did not attend"))
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
Thank you works a treat.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks