Not Show text in a cell

Unexpc

Active Member
Joined
Nov 12, 2020
Messages
496
Office Version
  1. 2019
Platform
  1. Windows
Hi guys
I have this code from a professional member of mrexcel, this code find last entered data in column A but not show text data, i have a problem with this, when last entered data is a text, this show empty, i want this show last entered number even a cell that fill with text be after that, anyone can a function in formula that doing this?

VBA Code:
=IF(MOD(ROW()-6,34)=0,"",IF(MOD(ROW()-7,34)=0,"",IF(ISNUMBER(LOOKUP(2,1/(A:A<>""),A:A)),LOOKUP(2,1/(A:A<>""),A:A),"")))
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Try:

=IF(MOD(ROW()-6,34)=0,"",IF(MOD(ROW()-7,34)=0,"",LOOKUP(2,1/(A:A<>""),A:A)))
 
Upvote 0
Try:

=IF(MOD(ROW()-6,34)=0,"",IF(MOD(ROW()-7,34)=0,"",LOOKUP(2,1/(A:A<>""),A:A)))
no, that is show texts, i want not show text and just show number, it means when last entered data a text, it shows number before, not show text
 
Upvote 0
How about
Excel Formula:
=IF(MOD(ROW()-6,34)=0,"",IF(MOD(ROW()-7,34)=0,"",LOOKUP(2,1/(ISNUMBER(A:A)),A:A)))
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,988
Messages
6,122,620
Members
449,092
Latest member
amyap

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top