Two Plus Two Older Archives

Two Plus Two Older Archives (http://archives2.twoplustwo.com/index.php)
-   Computer Technical Help (http://archives2.twoplustwo.com/forumdisplay.php?f=46)
-   -   Excel Question (http://archives2.twoplustwo.com/showthread.php?t=321952)

WarBus 08-25-2005 11:33 AM

Re: Excel Question
 
Thank you,
That worked perfectly.

One more question.

I didn't realize that some less used columns would have blank cells intermixed with numbers.
What would be the function that finds the last entry in a column under these conditions?

Link774 08-25-2005 01:25 PM

Re: Excel Question
 
That's even easier:

Function LastNonBlankValue(range)
For Each entry In range
If entry.Value <> "" Then
LastNonBlankValue = entry.Value
End If
Next
End Function

Enjoy!
-Link

WarBus 08-25-2005 02:20 PM

Re: Excel Question
 
Works great!
Thank you much.

WarBus


All times are GMT -4. The time now is 04:39 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.