Google sheets last non zero index and match

kathleenburke93

New Member
Joined
May 19, 2021
Messages
6
Platform
  1. Web
I am working on setting up a more organized system for keeping track of dates for a school. I have 2 forms set up (initial referral and update existing student). Each of these forms populates into an excel sheet and I am collecting the data into a 3rd. I don't know if I can clearly explain this but going to try... What I am trying to do:

Ex: student Kathleen Burke was referred after having vision screened but not hearing and for multiple areas of concern. This info goes from the form into excel sheet "DG initial referral" I have a formula =IF('DG initial referral'!W3="yes",'DG initial referral'!V3,"X") that pulls the vision date over and similar formula for other areas. This student then goes through the special education process and they fill out the "update student information" form now that they have a date for hearing screen and set up a date for a MET1 (column header). I have a formula that pulls this information over =ArrayFormula(INDEX('update student information'!E$2:E$10105,MATCH(1,--('update student information'!$C$2:$C$105=A3)*--('update student information'!E$2:E$10105<>""),0),1)).

However, I am running into an issue because if we go to update student information again (meeting date changed or new eligibility etc) I am trying to get it to pull the last non zero information from "update student information" or to be able to override "DG initial referral" (ex it's been over a year and did a new vision screen and have a new date coming in through the update form)

Here is a copy of the workbook:
 
It should work with text or numbers.
 
Upvote 0

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,214,973
Messages
6,122,534
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top