Clicking in cell has strange effect

ExcelLearner25

New Member
Joined
Jan 20, 2023
Messages
8
Office Version
  1. 2016
Platform
  1. Windows
I have a column of numbers that was converted from a PDF. The cells are formatted as text and are a little messy so I have a formula that uses a RegEx add-in to convert the imported data to a nice clean number. It works except for a few cells and I can't figure out why. When it doesn't work, the cell with the formula is blank. I'm pretty sure the RegEx is OK. I've tried TRIM and CLEAN to get rid of any unwanted characters but that doesn't help. I've tried changing the format of the offending cell, cut and pasting it to values only, and many other things I've forgotten. But the only thing that works is to click in the problematic cell (or formula bar). Selecting the cell isn't enough--I have to get the cursor active in there--then click anywhere else in the worksheet. Then the desired result magically appears.

Can anyone tell me why? What does clicking in the cell do?
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I believe your problem statement - few cells are still remains as text instead of numbers, right? If that is the case, try the below one.

1. Type 1 in any of the blank cell and Copy (CTRL+C) it.
2. Select your dataset that you wish to convert.
3. Press ALT - E - S then you would see the "Paste Special" option.
4. Select the opreation as "Mulitply" and then click OK.

Now, all of your text formatted numbers will be converted to Numbers format.
 
Upvote 0
Solution
Glad we helped - Please make it as solved to close the conversation and thanks for your feedback!!!
 
Upvote 0

Forum statistics

Threads
1,214,807
Messages
6,121,679
Members
449,047
Latest member
notmrdurden

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