Ask Different (Apple)
Q&A for power users of Apple hardware and software
Latest Questions
0
votes
1
answers
60
views
In Numbers.app, how can I trigger a response if newly input cell text matches text found anywhere in other sheets?
In Numbers.app on iOS, is it possible to trigger a response if sheet contains differing data to other sheets in same file? If not able to formulate on iOS, then on a Mac? And will the trigger still show up when viewing same file on iOS? - Sheet 1 = contact list from phone A - Sheet 2 = contact list...
In Numbers.app on iOS, is it possible to trigger a response if sheet contains differing data to other sheets in same file? If not able to formulate on iOS, then on a Mac? And will the trigger still show up when viewing same file on iOS?
- Sheet 1 = contact list from phone A
- Sheet 2 = contact list from phone B
- Sheet 3 = message list from phone C
- Sheet 4 = contact list from phone
contact name for phone 123-456-7890
- Sheet 1 = *contact doesn’t exist*
- Sheet 2 = Jane Doe
- Sheet 3 = Jane Doe
- Sheet 4 = Ashley
How can I set a trigger that will alert me to Sheet 4’s cell “Ashley”?
Each sheet contains different
- number of rows
- column headers
Casey K
(1 rep)
Sep 9, 2022, 10:44 PM
• Last activity: May 27, 2025, 08:04 AM
0
votes
1
answers
380
views
Safari download of CSV not using UTF-8 character set
I am downloading a CSV file, which Safari (annoyingly) puts directly onto the page. This CSV file is encoded with UTF-8, and has been verified to be correctly encoded with UTF-8 from the source file, as well as downloading it using other browsers. However, in Safari the character set is incorrect. I...
I am downloading a CSV file, which Safari (annoyingly) puts directly onto the page. This CSV file is encoded with UTF-8, and has been verified to be correctly encoded with UTF-8 from the source file, as well as downloading it using other browsers.
However, in Safari the character set is incorrect. It is using a Default character set, as seen by looking in the menu:
View > Text Encoding > Default
If I change this to:
View > Text Encoding > Unicode (UTF-8)
I get the correct characters displayed.
Why is UTF-8 not the default? How can I force it to be the default?
Isn't UTF-8 the default for the whole MacOS operating system, so I have no idea why Safari would be using something different.
Jim Leask
(193 rep)
Apr 2, 2024, 02:40 PM
• Last activity: Apr 27, 2025, 04:10 PM
0
votes
1
answers
339
views
Numbers.app or Excel: How to include cell bg color info as part of a CSV export?
I have a complex Numbers.app spreadsheet which contains a table with cells that are colored with different background colors. The different colors represent essential information. When I export the table to a CSV file in numbers (File > Export to… > CSV…) the color information is not included in the...
I have a complex Numbers.app spreadsheet which contains a table with cells that are colored with different background colors. The different colors represent essential information.
When I export the table to a CSV file in numbers (File > Export to… > CSV…) the color information is not included in the exported CSV in any way. That is a problem for me, since it is essential information.
Is there anyway to include the cell background color information in a CSV export? Of course I want to retain and export all of the other usual information in the CSV export as well. Any workaround which can export this color information in any kind of structured format would be acceptable/interesting to know.
-----
Note: I did notice that this cell background color information *is* preserved when exporting to Excel format (File > Export to… > XLS…). If there is no more direct way, I would love to also hear about an option to first export to Excel, and then export from Excel to a CSV format which somehow includes the structured color information.
------
Also Note: Yes, of course I am aware that CSV is a text-only file format. But out-of-band info could theoretically be included in an export in some kind of format like
hex_color_value:text_value
for each cell (comma-separated value). Something like that would really be ideal…
Todd Ditchendorf
(2169 rep)
Oct 13, 2022, 07:24 PM
• Last activity: Jun 5, 2024, 08:03 AM
0
votes
0
answers
29
views
merging of csv files has changed the date format of date column
I am using a below script to combine several files into one. awk '(NR == 1) || (FNR > 1)' InterfaceStatistics*.csv > /home/vikrant_singh_rana/nfv/merge/InterfaceStatistics_merge_file.csv files are getting merged but the date format is being changed.. see column `collectTime` circle,collectTime,item,...
I am using a below script to combine several files into one.
awk '(NR == 1) || (FNR > 1)' InterfaceStatistics*.csv > /home/vikrant_singh_rana/nfv/merge/InterfaceStatistics_merge_file.csv
files are getting merged but the date format is being changed.. see column
collectTime
circle,collectTime,item,collint,beginTime,duration,endTime,ifIn
Malaysia,20240519131607,PLMN-PLMN/CBIS-A0110PEXP12/COMPUTE
Malaysia,20240519131607,PLMN-PLMN/CBIS-A0110PEXP12/COMPUTE
Malaysia,20240519131607,PLMN-PLMN/CBIS-A0110PEXP12/COMPUTE
Malaysia,20240519131607,PLMN-PLMN/CBIS-A0110PEXP12/COMPUTE
Malaysia,20240519131607,PLMN-PLMN/CBIS-A0110PEXP12/COMPUTE
Malaysia,20240519131607,PLMN-PLMN/CBIS-A0110PEXP12/COMPUTE
circle,collectTime,item,collint,beginTime,duration,endTime,ifIn
Malaysia,2.02405E+13,PLMN-PLMN/CBIS-A0112PEXP12/COMPUTE
Malaysia,2.02405E+13,PLMN-PLMN/CBIS-A0112PEXP12/COMPUTE
Malaysia,2.02405E+13,PLMN-PLMN/CBIS-A0112PEXP12/COMPUTE
Malaysia,2.02405E+13,PLMN-PLMN/CBIS-A0112PEXP12/COMPUTE
Malaysia,2.02405E+13,PLMN-PLMN/CBIS-A0112PEXP12/COMPUTE
Malaysia,2.02405E+13,PLMN-PLMN/CBIS-A0112PEXP12/COMPUTE
Malaysia,2.02405E+13,PLMN-PLMN/CBIS-A0112PEXP15/COMPUTE
Looking for some help to keep the date column format intact.
I am running this script on cloud shell environment.
vikrant rana
(101 rep)
May 20, 2024, 06:51 AM
0
votes
1
answers
5517
views
how to open large CSV file in mac os?
I have a large CSV file with a total size of 214 MB. When I try to open this CSV file with Numbers, Number apps hangs. I have a mac m1 machine with 16 GB RAM. Can any one please tell me how to open a CSV file of this size in mac?
I have a large CSV file with a total size of 214 MB.
When I try to open this CSV file with Numbers, Number apps hangs.
I have a mac m1 machine with 16 GB RAM.
Can any one please tell me how to open a CSV file of this size in mac?
Exploring
(281 rep)
Aug 24, 2022, 03:49 AM
• Last activity: Feb 23, 2024, 12:22 PM
36
votes
7
answers
94545
views
Merging Multiple CSV Files without merging the header
I need to merge multiple .CSV files (using the `cat` command) but without copying the header for each file. What's the best way to accomplish this task?
I need to merge multiple .CSV files (using the
cat
command) but without copying the header for each file.
What's the best way to accomplish this task?
Dranian
(469 rep)
Jan 31, 2013, 08:40 PM
• Last activity: Feb 20, 2024, 07:08 AM
2
votes
1
answers
258
views
Determining the date when an Apple ID was created
I wish to determine when the date my Apple ID was created. To do that, I followed the instructions in this answer: - https://apple.stackexchange.com/a/345405/279727 I am able to download an Excel file containing data corresponding to my Apple ID. However, I am unable to parse the Create Date field....
I wish to determine when the date my Apple ID was created. To do that, I followed the instructions in this answer:
- https://apple.stackexchange.com/a/345405/279727
I am able to download an Excel file containing data corresponding to my Apple ID.
However, I am unable to parse the Create Date field. The field simply shows 38:05.0 in the **Create Date** column.
What could this mean?

john
(33 rep)
Sep 29, 2021, 01:48 PM
• Last activity: Dec 9, 2023, 02:15 PM
3
votes
2
answers
10655
views
Prevent Safari from transforming downloaded CSV files to Numbers files
On a computer that has Numbers installed, downloading a CSV file will automatically be converted to a Numbers spreadsheet and no longer be a plain CSV (not just the extension, but the contents themselves are transformed such that they are no longer readable in a text editor or similar). If the machi...
On a computer that has Numbers installed, downloading a CSV file will automatically be converted to a Numbers spreadsheet and no longer be a plain CSV (not just the extension, but the contents themselves are transformed such that they are no longer readable in a text editor or similar). If the machine does not have Numbers on it then this conversion does not take place.
The workaround is obnoxious at the time, opening the file in Numbers then saving from there into CSV so it can be actually used as intended.
Is there anyway to disable this automatic transformation from happening (aside from uninstalling Numbers)?
--------------------
**Update:** I have tried this on various machines and it is definitely a very spotty behavior. I am teaching Intro CS to a college class and all the students have "identical" machines (except whatever modifications they have made after they received them from the college). About 1/4 of the students experience this problem and none of them know why (not very computer-oriented students being a general-education class).
It seems that on some computers with Numbers installed, opening a CSV file in Numbers will cause Numbers to convert the file to it's own format, delete the original CSV file, and replace it. I can't find a setting for this, but on certain student laptops this is always reproducible.
Additionally, on some computers with Numbers installed, the mime-type
text/csv
(what the particular server is serving those files as) is considered a 'safe' file and then auto-opened with Numbers, as per https://apple.stackexchange.com/questions/961/how-to-stop-safari-from-unzipping-files-after-download
So one solution is following @CraigStodolenak solution which causes Safari to them auto-open the file with a different program and the auto-conversion then never happening.
Once I get access to another machine like this I will also try the ⌥ alt trick that disables auto-opening for a single link in Safari.
As a side note, on my own machine from the school and another loaner I have received I cannot reproduce the issues with auto-opening or auto-transforming.
thaimin
(133 rep)
Feb 1, 2019, 03:13 PM
• Last activity: Aug 8, 2023, 01:24 PM
4
votes
1
answers
973
views
Opening CSV in Numbers does not display decimal numbers correctly
Lets say I have following CSV file: 1.0;0.125;0.1253 Opening it in Numbers gives me: [![enter image description here][1]][1] Why are 1.0 and 0.1253 correctly presented as "1.0" and "0.1253", but "0.125" is presented as "125"? What do I have to do to get Numbers to display "0.125" correctly? --- Edit...
Lets say I have following CSV file:
1.0;0.125;0.1253
Opening it in Numbers gives me:
Why are 1.0 and 0.1253 correctly presented as "1.0" and "0.1253", but "0.125" is presented as "125"?
What do I have to do to get Numbers to display "0.125" correctly?
---
Edit: My region and language settings are set to Europe/Germany.

kostrykin
(201 rep)
Mar 29, 2023, 12:29 PM
• Last activity: Mar 31, 2023, 07:39 AM
2
votes
1
answers
582
views
Apple Mail adds blank rows to CSV file
I'm having an odd problem. I've recently decided to try Apple Mail as my default mail platform. Everything is being great until a coworker noticed that the **.csv** files I send come out with *blank rows* in between. - This is the original file (randomly generated for this example). [


01000101.sh
(33 rep)
Sep 21, 2020, 06:39 PM
• Last activity: Dec 27, 2022, 11:07 PM
1
votes
1
answers
361
views
Trigger automatic export to CSV while saving the Numbers Sheet
Is it possible to `trigger` automatic CSV export of a `.numbers` file while saving / closing? The thing is, I'd like to keep two versions of the same file. One with the `.numbers` extension, where you can have nice formatting, filtering, etc, and a pure `.csv` which is obviously more convenient to w...
Is it possible to
trigger
automatic CSV export of a .numbers
file while saving / closing?
The thing is, I'd like to keep two versions of the same file. One with the .numbers
extension, where you can have nice formatting, filtering, etc, and a pure .csv
which is obviously more convenient to work with for programming purposes.
What is more, I don't want my co-worker to export the file by hand every time they change something because it will surely lead to a lot of sync errors and is a pain in the neck.
The best would be something like On save trigger
connected with a certain .numbers
document defined in AppleScript, but I am not sure if AS supports something like that.
In such a case, does anybody have any ideas on how to achieve such a goal?
Dr. Ske
(11 rep)
Jul 14, 2022, 08:42 AM
• Last activity: Jul 14, 2022, 02:21 PM
0
votes
0
answers
579
views
How can I generate a spreadsheet of a folder structure on my computer with folder sizes included?
I'd like to make a spreadsheet of a folder structure in my filesystem. Given a parent folder or volume as the input, the output should include: 1. Subfolders to the nth level (user-specified) 2. A clean/readable visual format showing the folder names and their hierarchy (perhaps each next level in t...
I'd like to make a spreadsheet of a folder structure in my filesystem. Given a parent folder or volume as the input, the output should include:
1. Subfolders to the nth level (user-specified)
2. A clean/readable visual format showing the folder names and their hierarchy (perhaps each next level in the path breaks out to a new column)
3. The total size of each folder in GB
You can't copy and paste more than the names of files directly from Finder, so I understand Terminal / zsh would be the way to achieve this. What command line code would output this result?
**What I've tried:**
Changing directory to the desired folder in Terminal and running
du -k -d 3
gets me somewhat close (-k
meaning kilobytes and -d 3
meaning depth of 3). But it's quite an unruly list that is tedious to translate into a spreadsheet format.
I'd still prefer to export a .csv from that, generate GB to the second decimal place instead of KB, and perhaps have each level in the path name break out into a new column of the .csv.
gills
(321 rep)
Jun 29, 2022, 01:35 AM
• Last activity: Jul 1, 2022, 12:02 AM
1
votes
1
answers
1891
views
How to create a URL link in Numbers from a CSV file
I have a CSV file that I open in Numbers, I need one of the cells to be a URL clickable link though, and in the CSV file if I use something like this, it does not turn into a clickable link in Numbers: ``` =HYPERLINK("https://www.apple.com","Apple") ``` If I type in the above in a cell in the Number...
I have a CSV file that I open in Numbers, I need one of the cells to be a URL clickable link though, and in the CSV file if I use something like this, it does not turn into a clickable link in Numbers:
=HYPERLINK("https://www.apple.com ","Apple")
If I type in the above in a cell in the Numbers app, then it automatically turns into a clickable link with the words "Apple".
I am guessing if Numbers opens a CSV file, it does not support functions such as =HYPERLINK. Perhaps it has to be a Numbers formatted file for it to support functions?
Is there a way to "ask" Numbers to open a CSV file in Numbers format so that it can understand the HYPERLINK function?
Bruce Banner
(111 rep)
Mar 31, 2022, 07:11 AM
• Last activity: Apr 1, 2022, 02:38 PM
1
votes
0
answers
249
views
"Save as" in Excel 2019 is not offering to save in CSV format
I hit _File | Save As_ and the output formats are only derivatives of the XLS. Why aren't CSV (and PDF etc) offered? [![enter image description here][1]][1] I am on excel 2019 for MacOS [![enter image description here][2]][2] [1]: https://i.sstatic.net/wUnEo.png [2]: https://i.sstatic.net/B6GUem.png
I hit _File | Save As_ and the output formats are only derivatives of the XLS. Why aren't CSV (and PDF etc) offered?
I am on excel 2019 for MacOS


WestCoastProjects
(6555 rep)
Nov 29, 2021, 12:47 AM
-1
votes
2
answers
4663
views
How can I turn off the "Numbers" application?
"Numbers" is the Mac OS counterpart to Excel. When you extract data from the Web, you can often export it into the .csv format, which is just a primitive version of Excel limited to a single worksheet. It is very easy to "save as" a .csv file into an .xls file. But, with Mac OS, when you export data...
"Numbers" is the Mac OS counterpart to Excel. When you extract data from the Web, you can often export it into the .csv format, which is just a primitive version of Excel limited to a single worksheet. It is very easy to "save as" a .csv file into an .xls file.
But, with Mac OS, when you export data into a .csv file, it actually exports it to Numbers. The interface is quite different. Is there a way to turn off Numbers so it does not automatically capture .csv data exports?
Sympa
(161 rep)
Nov 25, 2021, 09:11 PM
• Last activity: Nov 27, 2021, 05:42 PM
2
votes
3
answers
13728
views
Converting large amounts of JSON to CSV on macOS
I want to convert some 20mb+ JSON files to CSV. Tried using webapps like https://konklone.io/json/ or https://www.convertcsv.com/json-to-csv.htm but they just crash. So how can I use other tools to do such conversions?
I want to convert some 20mb+ JSON files to CSV.
Tried using webapps like https://konklone.io/json/ or https://www.convertcsv.com/json-to-csv.htm but they just crash.
So how can I use other tools to do such conversions?
David Gerrard
(21 rep)
Jul 2, 2020, 09:44 AM
• Last activity: Nov 1, 2021, 04:38 PM
27
votes
13
answers
83181
views
Free .CSV text file editor for Mac OS X?
I am looking for a free editor to edit comma-delimited text files, or .csv format.
I am looking for a free editor to edit comma-delimited text files, or .csv format.
sorin
(31160 rep)
Jun 14, 2011, 11:44 AM
• Last activity: Oct 20, 2021, 02:53 PM
12
votes
6
answers
23419
views
Open CSV File with Different Delimiter
I'm currently using the default Numbers application to open my CSVs. My current use case involves a file that I had to use a different type of separator (` | `). Is there any way to change the separator? Right now when I open the file it just puts the entire row in one column.
I'm currently using the default Numbers application to open my CSVs. My current use case involves a file that I had to use a different type of separator (
|
). Is there any way to change the separator? Right now when I open the file it just puts the entire row in one column.
Tom Prats
(222 rep)
Jan 9, 2017, 01:15 PM
• Last activity: Jun 21, 2021, 02:08 AM
5
votes
1
answers
4341
views
Changing CSV Delimiting Character in Numbers
I have a CSV file which is delimited with semicolons. I would like to open it in Numbers and edit. Currently, when I open it, it jumbles all the data, including the semicolons, into one column. It appears that the issue is that the delimiting character is set to something other than the semicolon. H...
I have a CSV file which is delimited with semicolons. I would like to open it in Numbers and edit. Currently, when I open it, it jumbles all the data, including the semicolons, into one column.
It appears that the issue is that the delimiting character is set to something other than the semicolon. How can one change it?
P.S. I have tried manually replacing the semicolons with commas using a text editor, and it fixed the issue. However, I would still like to know a more straightforward way to do so via Numbers.
MadPhysicist
(187 rep)
Jun 18, 2021, 10:31 AM
• Last activity: Jun 18, 2021, 05:55 PM
0
votes
0
answers
1170
views
how to combine CSV files using cat .csv when one of the files has an NA value in cell A1
I'm trying to merge a large number of CSV files all of which have identical columns using the terminal command `cat *.csv >merged.csv`. Some of the files have an `NA` value in the first cell. In these cases, that initial row gets added to the last row of the previous file. Here is a very simple exam...
I'm trying to merge a large number of CSV files all of which have identical columns using the terminal command
### csv2 - contains data
###
### my desired output is this
cat *.csv >merged.csv
. Some of the files have an NA
value in the first cell. In these cases, that initial row gets added to the last row of the previous file.
Here is a very simple example.
### csv1 - contains column headers


cat *.csv >merged.csv
yields this output


John J.
(101 rep)
Jan 27, 2021, 05:10 PM
Showing page 1 of 20 total questions