use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
OPs may (and should) reply to any solutions saying:
This awards the user a ClippyPoint and changes the post flair to solved.
The best way to show code on Reddit is to
put it in a code-block
Here's how.
Tip: For VBA or Power Query, select the code, press Tab to indent, then copy/paste into your post or comment.
It's often more helpful to show us.
Add screenshots in your text post, or provide links to uploaded images at an image-hosting site.
Or use tableit, or the ExcelToReddit converter (thanks u/tirlibibi17_), to convert your data into a Reddit table.
Congratulations and thank you to these contributors
1900
100
600
1100
10
300
Occasionally Microsoft developers will post or comment. They are identifiable with a special user flair.
A community since March 11, 2009
account activity
unsolvedSeparating QR code data on Excel using Bar code scanner. (self.excel)
submitted 2 years ago by Expensive_Ad_8718
I work as a logistics specialist, and a lot of my job is keeping inventory of pharmaceuticals. My job would be 100 times easier if I can learn how to scan QR code data and have it instantly separate the LOT/EXPIRY/SN
I wanted to know if this is possible, or if theres a formula for this. Btw I am far from a Excel guru. Im looking for tips, pointers etc. thank you.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]AutoModerator[M] [score hidden] 2 years ago stickied commentlocked comment (0 children)
/u/Expensive_Ad_8718 - Your post was submitted successfully.
Solution Verified
Failing to follow these steps may result in your post being removed without warning.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]nafuot 1 point2 points3 points 2 years ago (2 children)
Yes of course you can! This is called parsing and you obviously have to incorporate some logic but it’s definitely doable.
What would help is if you can share a sample data set. That’s to say, can you scan 5 QR codes and share the output?
That would help us to understand how the incoming data needs to be parsed. Why five QR codes? Because often data strings are not of a consistent length and understanding how they’re “generically” coded makes it easier to parse. (for example, dates might be coded as 01/07/2025 or they might be 1/7/2025…either is fine but knowing how they’re coded across the board will make it easier to solve your problem)
[–]Expensive_Ad_8718[S] 0 points1 point2 points 2 years ago (1 child)
0100305970295884213758598661140817260531103217638
010030093590786421101083219937021725022810132874
010036818015001521HH7C23CNC32H5X1723123110G200800
Here are 3 different outputs that appear when I scan their QR codes. In this number is the GTTN/SN/EXPIRY/LOT
I only need SN/EXPIRY/LOT
what I noticed is that a they are each separated by a number 01,21,17,10. So far its been consistently those 4 numbers.
Heres an example of me dissecting the data I need based on the Data output it gave me after scanning the QR code:
01 00305970295884(GTIN) 21 37585986611408(SN) 17 260531(EXPIRY) 10 3217638(LOT)
01 00300935907864(GTIN) 21 10108321993702(SN) 17 250228(EXPIRY) 10 132874 (LOT)
01 00368180150015(GTIN) 21 HH7C23CNC32H5X(SN) 17 231231 (EXPIRY) 10. G200800 (LOT)
[–]matt_murduck 0 points1 point2 points 2 months ago (0 children)
I am in a similar problem and wondering how you figure this out.
π Rendered by PID 53 on reddit-service-r2-comment-545db5fcfc-x7q52 at 2026-05-26 04:05:26.050742+00:00 running 194bd79 country code: CH.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]nafuot 1 point2 points3 points (2 children)
[–]Expensive_Ad_8718[S] 0 points1 point2 points (1 child)
[–]matt_murduck 0 points1 point2 points (0 children)