If ISNUMERIC then

olympiac

Board Regular
Joined
Sep 26, 2010
Messages
158
If ISNUMERIC then
I need to automate by code a manual work in excel.
I need a code that would give me the following result

If the value in Column C is Numeric then for each value add "000000000000" at the begining.
If the value in Column C is not Numeric then nothing
I started the following code by I am not sure how to complete it

Code:
Dim R As Range
Set R = Intersect(Range("C1").EntireColumn, ActiveSheet.UsedRange)
R.Value = 
[\Code]
 
Can you help please?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
The value with the 12 Zeroz in the spreadsheet will be used by someone else in the team for a Vlookup. If I do not add the zeros the Vlookup will not work unless you have got a solution for that.
 
Upvote 0
If a Vlookup 0000000000118580 with 118580 I get #N/A
My formula is =VLOOKUP(H11,E11,1,FALSE).
What am I missing here?
 
Upvote 0

Forum statistics

Threads
1,224,606
Messages
6,179,862
Members
452,948
Latest member
UsmanAli786

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