Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-25-2015, 07:17 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Cannot get the IF function to work Windows 7 64bit Cannot get the IF function to work 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How exactly does the search function work in Excel pintree3 Excel 2 01-26-2015 07:24 AM
Excel function does not work in OneDrive for Business Laibiang Excel 0 11-04-2014 07:48 PM
Cannot get the IF function to work #REF! Error in calling VBA function disappears when function is copied lcaretto Excel Programming 2 05-26-2014 07:19 PM
Creating a graph for Future Value function (FV function) bmoody Excel 2 11-06-2013 10:52 AM
Save attachment function won't work in Outlook 2007. WLVanS Outlook 0 09-16-2011 12:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft