Forum Discussion

Z Smith's avatar
Z Smith
Copper Contributor
Nov 02, 2018

Find 1st non-blank field return field contents and get other contents from other fields in same row

Hi, I have tried many formulas and arrays and cant seem to find the right ones to accomplish my goals.

 

So in the attached excel file. I have data in my All Data worksheet. I am trying to run formulas so the Maintenance Worksheet is auto filled as data is entered on the All Data Worksheet. 

 

On the Maintenance Worksheet First I want to check in Cell B15 Under Odometer, find the first non-empty cell in the Maintenance Column of All Data Worksheet and check if the number in the cell is between what is in Cell A15 and A16 under Service Inerval, if True, show the value, if false show empty or keep the field empty. Then I would Repeat the formula down the Column so when the number is between those two numbers it will show. When this is True, then I want to get the Date (Column A) from the same row where there was a value under the Maintenance Column and place it in the respective row in Column C (Date) on the Maintenance Worksheet, and get the Mechanic information from the same row under the Mechanic Column from "All Data", and the "X" marks and so on of the rest of the row to correspond to the row in the "Maintenance" Worksheet.

 

For Example the output data should look like

 

Service IntervalOdometerDateMechanicPM Lube Oil & FilterBrakes Front %Brakes Rear %Steering & AlignmentLighting SystemW/S Wiper & HeaterA/C & Heating SystemCooling Sys. Belts & HosesExhaust & Emission Sys.Battery & Charging Sys.
Tune Engine
Replace Fuel FilterTires Front % & WheelsTires Rear % & WheelsRemarks
6,000                  
12,000                  
18,000                  
24,000                  
30,000                  
36,000                  
42,000                  
48,000                  
54,000                  
60,000                  
66,000                  
72,0007712010/25/2018Pep BoysXX            Oil Change...
78,000                  
84,000                  
90,000                  
96,000                  
102,000                  
108,000                  

 

I was trying a Find, Lookup formula, or Index/Match combination, but couldn't get it to work right. Your help is greatly appreciated.

No RepliesBe the first to reply

Resources