Skip to playerSkip to main content
Learn how to get maximum of comma-separated values in a cell In Excel

In Excel, extracting and manipulating data from cells containing comma-separated values can be efficiently achieved using various functions. To get the maximum value among comma-separated values in a cell, one can utilize the combination of functions like SUBSTITUTE, TEXTJOIN, and MAX.

Max Value From Comma Separated Value
=MAX(--(TEXTSPLIT($B2,",")))

Min Value From Comma Separated Value
=MIN(--(TEXTSPLIT($B2,",")))

1) TEXTSPLIT($B2,","): This function splits the text in cell $B2 into an array of substrings, using the comma (",") as the delimiter. For example, if cell $B2 contains "10,20,30", this function will return an array containing three elements: "10", "20", and "30".
2) --: The double unary operator (--) is used to coerce the resulting array of strings into an array of numbers. This is done by converting each string element into a number. If any element of the array cannot be converted into a number, it will result in a NaN (Not-a-Number) value.

🔗🔗 LINKS TO SIMILIAR VIDEOS 🔗🔗
Sum comma separated values in Excel - Excel Tips and Tricks
https://youtube.com/shorts/1GUx7zi2wzc?si=Rc8Oidvtr6t-dOFV

Sum comma separated values in Excel Without Using TEXTSPLIT() Function - Excel Tips and Tricks
https://youtube.com/shorts/z6ghCP7G3ew?si=rIS6nZL31jA41g17

Separate data from one cell in Excel with commas - Excel Tip and Tricks
https://youtube.com/shorts/xuhpFwb5TWg?si=8YYj22Elb2Ez2rMp

Text Split with multiple delimiters - Excel Tip and Tricks
https://youtube.com/shorts/LXZkMlGZWXQ?si=v-ovLGoZ2SdQ-baC

[NO FORMULA] Separate data from one cell in Excel with commas - Excel Tip and Tricks
https://youtube.com/shorts/4AhokAuE5Nc?si=ObQffk0YBaj0SgyU

Sum comma separated values in jaggered format in Excel - Excel Tips and Tricks
https://youtube.com/shorts/ijC7qhRK6s0?feature=share

Get maximum of comma-separated values in a cell In Excel - Excel Tips and Tricks
https://youtube.com/shorts/UHdjAsSx6C8?feature=share

Sum comma separated values in Google Sheets - Excel Tips and Tricks
https://youtube.com/shorts/bYOX6V_iWnI?feature=share


Get maximum of comma-separated values in a cell In Excel,Get maximum of comma separated values in a cell,How to Count Comma Separated Values in One Cell in Excel,Get maximum of comma separated values in a cell,

Check out my complete suite of Microsoft Excel Tips and Tricks.
https://www.youtube.com/@jjnet247/shorts
https://www.tiktok.com/@exceltips247
https://www.instagram.com/exceltips247/
https://www.dailymotion.com/ExcelTips247
https://www.pinterest.com/ExcelTips247/excel-tips-and-tricks/
https://x.com/ExcelTips247/media
https://www.reddit.com/r/Excel247/
https://www.facebook.com/XyberneticsInc/reels/

#microsoft #excel #tips #tipsandtricks #microsoftexcel #accounting #fyp #fypã‚· #exceltips #exceltricks
Transcript
00:00In my last few videos, I showcased five different ways to sum numbers that are separated by comma
00:04on a single cell. But someone had requested if I can do another video to find max and minimum
00:08numbers among the comma separated value. The answer to that is pretty straightforward.
00:13To determine the maximum value, you utilize the text split function to split the content of the
00:17cell B2 using a comma as a delimiter and storing the split values into an array. Subsequently,
00:23we employ the unary operator which is denoted by two dash to convert the array of elements
00:27into pure numeric value. Finally, we utilize the max function to identify the highest value within
00:33an array. To obtain the minimum value, simply duplicate the formula and replace the max with
00:38min. With this newly acquired knowledge, you can also do the same thing for average, standard deviation,
00:44and count.
Comments

Recommended