ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Replacing specific numbers (https://www.excelbanter.com/excel-discussion-misc-queries/86931-replacing-specific-numbers.html)

jezzica85

Replacing specific numbers
 
Hi all,
This is probably easy, but I can't figure it out--is there a formula I could
use to replace any number in a range that's greater than 1 with 1?
Thanks!
Jezzica85

Dave Peterson

Replacing specific numbers
 
You could use a helper column of formulas:

=if(a11,1,a1)

Drag down, convert it to values and delete the original column????

jezzica85 wrote:

Hi all,
This is probably easy, but I can't figure it out--is there a formula I could
use to replace any number in a range that's greater than 1 with 1?
Thanks!
Jezzica85


--

Dave Peterson

Don Guillett

Replacing specific numbers
 
Not with a formula unless a different cell
=if(a11,1,a1)
You would need a macro

--
Don Guillett
SalesAid Software

"jezzica85" wrote in message
...
Hi all,
This is probably easy, but I can't figure it out--is there a formula I
could
use to replace any number in a range that's greater than 1 with 1?
Thanks!
Jezzica85





All times are GMT +1. The time now is 04:42 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com