From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Excel: how to get last row value for two columns

Solved!
Go to solution

Hello there,

 

I am working on application where I need to make an excel file which has two columns, one for PASS UUTs and another for FAIL UUTs. For each result of test, i need to make an entry of unit's serial no. in respective columns.

I am using report generation tool-kit which has a function to get last row. However, it is returning value of 'bigger/longer' column. So, can i get last value for each particular column? 

 

Attached is the excel file for reference.

 

Thanks,

Manan

0 Kudos
Message 1 of 2
(2,026 Views)
Solution
Accepted by topic author Manan@MM

Hi Manan,

 

read the sheet until "last row", then search for empty cells (aka elements) in those 2 columns…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,018 Views)