View Single Post
 
Old 08-25-2015, 07:17 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,943
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

There is a flaw in your logic

=IF(H3="";G3;IF(G3="";F3;IF(F3="";E3;IF(E3="";D3;I F(D3="";55;H3))))) always returns the value of G3 when H3 is empty, the value of G3 being LocD or 0.
If I understand correctly you need the content of the last non empty cell for a given SN

Try
Code:
=IF($D1="","",INDEX($D3:$H3,MATCH(REPT("z",255),$D3:$H3))
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote