How Can I Manipulate Numbers in Excel's General Number Format?

AI Thread Summary
To manipulate a CSV file containing numbers in the format ab:cd:ef:ghy, the process involves extracting the last character (y) using the MID function, specifically "=MID(A1,12,1)". This allows for the addition of one to the extracted value, potentially using the N function for conversion. The final step is to concatenate the modified value back into the original format with the LEFT function, resulting in "=LEFT(A1,11)&C1". The discussion highlights a successful method for achieving the desired numerical manipulation while maintaining the original format.
Jobrag
Messages
551
Reaction score
28
I have an csv file that has a column of numbers in the form ab:cd:ef:ghy The cell's number format is general, I want to be able (if other criteria are met) to change y into y+1. The final column must again have the form ab:cd:ef:ghy and the number format general, can anyone out there give me an idea how to manipulate numbers in this format.
 
Computer science news on Phys.org
What about "=MID(A1,12,1)"?
This picks out "y",
Then you can add one, perhaps after using "=N(value)".
Finally you can concatenate everything with "=LEFT(A1,11)&C1".
 
I like Serena
Spot on, thank you, you have just out geeked our office resident geek who will now have to buy much beer, thanks again.
 
I have already geeked out my own office resident geeks.
I'm only glad that other people are willing to buy my beer! :smile:

Say, did you already vote?
https://www.physicsforums.com/forumdisplay.php?f=213
 
In my discussions elsewhere, I've noticed a lot of disagreement regarding AI. A question that comes up is, "Is AI hype?" Unfortunately, when this question is asked, the one asking, as far as I can tell, may mean one of three things which can lead to lots of confusion. I'll list them out now for clarity. 1. Can AI do everything a human can do and how close are we to that? 2. Are corporations and governments using the promise of AI to gain more power for themselves? 3. Are AI and transhumans...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...
Back
Top