Automatically translated.View original post

Why do you use UNIQUE and repeat it?

6/27 Edited to

... Read moreจากประสบการณ์การใช้งาน Excel ฟังก์ชัน UNIQUE นั้นเป็นเครื่องมือที่สะดวกสำหรับการกรองข้อมูลให้ไม่ซ้ำกัน แต่บางครั้งก็เจอปัญหาที่ข้อมูลดูเหมือนซ้ำ แต่ฟังก์ชันกลับไม่แยกแยะได้อย่างถูกต้อง สาเหตุหลักคือการมีตัวอักษรที่มองไม่เห็น เช่น non breaking space ซึ่งมีรหัส CHAR(160) แทนที่จะเป็นช่องว่างปกติ CHAR(32) ซึ่งเป็นสาเหตุที่ทำให้ดูเหมือนข้อมูลซ้ำแต่แท้จริงแล้วไม่เหมือนกัน สิ่งที่ผมแนะนำคือ การทำความสะอาดข้อมูลก่อนนำไปใช้กับฟังก์ชัน UNIQUE ด้วยการใช้สูตร SUBSTITUTE เพื่อแทนที่ CHAR(160) ด้วยช่องว่างปกติ หรือใช้ TRIM เพื่อตัดช่องว่างส่วนเกินทั้งข้างหน้าและข้างหลังข้อมูลออก วิธีนี้จะช่วยรีเซ็ตข้อมูลให้มีความสะอาดและเหมาะสมสำหรับการประมวลผลมากขึ้น นอกจากนี้ควรตรวจสอบข้อมูลเบื้องต้นด้วยคำสั่ง LEN หรือ CODE เพื่อเช็คจำนวนตัวอักษรและรหัสของช่องว่าง เพื่อให้มั่นใจว่าข้อมูลที่นำมาวิเคราะห์ไม่มีตัวอักษรพิเศษแอบแฝงอยู่ ซึ่งจะช่วยลดปัญหาเรื่องความไม่สอดคล้องกันของข้อมูลและผลลัพธ์ที่ไม่ตรงตามความคาดหวัง จากการแชร์นี้ ทำให้ผมมั่นใจได้ว่าการทำความสะอาดข้อมูลเป็นขั้นตอนที่สำคัญก่อนการใช้ฟังก์ชันที่เกี่ยวข้องกับการกรองข้อมูลซ้ำซ้อน และเป็นเรื่องเล็กน้อยแต่สำคัญที่หลายคนอาจมองข้ามไป ซึ่งเมื่อนำเทคนิคนี้มาใช้ ก็ช่วยให้การทำงานใน Excel มีประสิทธิภาพมากขึ้นและลดข้อผิดพลาดที่เกิดจากข้อมูลที่แอบแฝงช่องว่างพิเศษอย่าง CHAR(160) ได้จริง

Related posts

20 Exercises to Shrink and Tone your Waist⏳
💕My Advice: ⌚️Calorie Tracking: Use a food diary or mobile app to track your daily calorie intake and ensure you're in a calorie deficit to promote fat loss, including around the stomach area. ⚖️Macronutrient Balance: Focus on a balanced diet that includes adequate protein, healthy fats,
Chalie_Baker

Chalie_Baker

7865 likes

3 simple meals to eat on repeat to lose weight!
#ketocoachbre #easyketorecipes #easyketomeals #ketoforwomen #whatieatinaday
Bre | KETO COACH

Bre | KETO COACH

3047 likes

6-Ingredient Dinner You’ll Want on Repeat
This is one of those “dump it in the dish and get on with your day” kind of recipes. It’s Pinterest-inspired, made with just 6 ingredients, and there’s zero browning required. You just mix everything up, pour it over the beef, and let the oven do all the work. I served mine over mashed potatoes,
Ko-Ko Owirodu

Ko-Ko Owirodu

4263 likes

Anti-Inflammatory Dinner I make on Repeat✨
Visit flavorsbyfrangipane.com for more anti-inflammatory meals🍴 Greek Salmon Bowls 🇬🇷 Bone Broth Brown Rice: (start with this) -2 cups chicken bone broth -1 cup brown rice -1 tbsp butter -Pinch of salt Zucchini Fries: -2 large zucchini, sliced into fry shapes -1 tbsp olive oil -½ tsp
flavorsbyfrangipane

flavorsbyfrangipane

864 likes

Unique Crochet Ideas to Inspire Your Creativity
✨ Unique Crochet Ideas to Inspire Your Creativity ✨ Step outside the pattern! From whimsical stitches to unexpected projects, these fresh ideas will have your hook dancing with excitement. 🎨🧶 #crochet #uniquecrochet #crochettips #craftideas #diy #creatorsearchinsights
Shay’s Craft Corner

Shay’s Craft Corner

182 likes

A flat lay image of an open journal with a golden pen and dried flowers, featuring a title overlay "5 UNIQUE WAYS TO USE YOUR JOURNAL" by Lark & Legacy.
A page detailing "A LETTER TO YOUR FUTURE SELF" as journaling method #1, explaining how to write it, its power, and tips, set against a background of an open journal and dried plants.
A page describing "THE ONE-LINE-A-DAY CHALLENGE" as journaling method #2, outlining its process, benefits, and suggestions, presented on a light background with journal elements.
5 Unique Ways to Use Your Journal 🌸
Your journal isn’t just for writing! 📝✨ If you’ve ever stared at a blank page unsure of what to do, here are 5 creative ways to make journaling more exciting. From reverse bucket lists to emotion color-coding, these ideas will help you turn your journal into a tool for self-discovery, creativity, a
larkandlegacy

larkandlegacy

55 likes

ON REPEAT
Songs I’ll have on repeat this summer 🌊☀️🥥 #summer #music #summerplaylist #beach #summer2024
Rilei

Rilei

323 likes

A fan of US dollar bills, including twenty and fifty dollar denominations, spread out on a surface, illustrating the theme of money discussed in the article.
A graphic titled 'Bad Money Habits I am leaving Behind in 2024,' listing habits like impulse spending, ignoring a budget, accumulating high-interest debt, and not saving for the future, with small money and piggy bank illustrations.
A graphic with text about 'Avoiding Financial Planning,' advising to set financial goals and assess progress, accompanied by a dollar sign illustration.
Money money money money, money [Repeat: x 6]
Money money money money, money [Repeat: x 6] Some people got to have it Some people really need it Listen to me why'all, do things, do things, do bad things with it You want to do things, do things, do things, good things with it Talk about cash money, money Talk about cash money- dollar
NaeNae

NaeNae

755 likes

How to Use Meditation to Cope with Life's Challeng
Hi, lemon drops! In our fast-paced, interconnected world, stress, anxiety, and emotional overwhelm have become commonplace. As we navigate the complexities of work, relationships, and personal growth, it's essential to cultivate emotional resilience—the ability to bounce back from adversity, ad
Lifestyle Babe

Lifestyle Babe

13 likes

why your bf isn’t opening up to you
getting guys to open up about their thoughts and feelings can be hard. of course, this can be true for women as well (believe me, i use to be very closed off), but a lot of guys have been raised in a world where emotions are seen as weakness and many guys haven’t ever opened up to anyone. unders
staci york 💛🍋

staci york 💛🍋

1479 likes

No Repeat Dumbbell & Bodyweight Ab Workout
💪🏻ROUTINE: *Perform each exercise for 1 min with 10 sec rest in between. *Exercises can be performed dumbbell & bodyweight combined or bodyweight only. 💪🏻TIPS: *Keep core tight and really squeeze abs at the top of the movement. *Keep back flat to the floor/mat- don't let yo
Andi🖤

Andi🖤

21 likes

My favorvite Christian songs I’ve had on repeat✞
Artists: Stevie Rizo Torey D'Shaun Hulvey Erica Campbell Young C Kneemarko Glo Sent! Tylan1k Sondae Most of these songs can be found on any app you use for music (Spotify, SoundCloud, Apple Music, etc) #christiangirl #fyp #christianbops #jesus #jesuslovesyou @kgarch
kgarchrivess

kgarchrivess

550 likes

5 SAUCES YOU’LL MAKE ON REPEAT
These sauces turn the simplest dinner into comfort food 🤍 No stress, no fancy ingredients. Save this for busy nights ✨ Comment which sauce you want a full recipe for 👇 #easydinnerideas #homemadesauce #cozycooking #onepandinner #weeknightdinner #comfortfoodrecipes
recipereverie

recipereverie

750 likes

3 Lower Body Exercises I have on Repeat
On leg day, I focus on targeting my inner and outer thighs. I begin with the inner thigh machine, ensuring that each movement is slow and controlled, with a pause at the peak of each contraction to maximize muscle engagement. Next, I move to the outer thigh machine, maintaining the same slow and co
The Confident 🍑

The Confident 🍑

6 likes

A title slide on a dark green background with climbing vines, stating "5 WAYS TO TURN YOUR Dreams INTO REALITY" with a "Swipe me" prompt. The Lemon8 logo and username @luxurymindsetceo are visible.
A slide detailing "VISUALIZATION TECHNIQUES," including daily visualization methods and tips like creating a vision board and using all senses. The Lemon8 logo and username @luxurymindsetceo are at the bottom.
A slide explaining "GRATITUDE JOURNALING," with a method for daily gratitude and tips for starting or ending the day with journaling. The Lemon8 logo and username @luxurymindsetceo are included.
🌟 Manifest Your Dreams: 5 Unique Methods 🌟
Ready to bring your dreams to life? Check out these powerful techniques and start manifesting today! ✨ 1️⃣ Visualization Techniques 2️⃣ Scripting 3️⃣ Affirmations 4️⃣ Gratitude Journaling 5️⃣ Action Planning 💡 Which method will you try first? Drop a comment below! 💡 Follow us on Instag
Luxury Mindset CEO

Luxury Mindset CEO

50 likes

The Strawberry Crisp You’ll Want to Make on Repeat
This strawberry crisp is everything you want in a spring dessert—sweet, tart, crunchy, and cozy. It takes minimal effort, and it’s toddler-approved in our house! Here’s how to make it: Ingredients: Filling • 1 package fresh strawberries • 1/4 cup white sugar • 1 ts
Amber • Dino Mama

Amber • Dino Mama

377 likes

your glow up isn’t just skincare or makeup…
it’s the habits you repeat every sin
your glow up isn’t just skincare or makeup… it’s the habits you repeat every single day 👀💜 sleep, water, mindset, stress, what you eat — it all shows on your face, body, and energy small habits can either level you up or drain you completely ✨ start choosing habits that future you will th
Milly

Milly

474 likes

I use this scarf hack on repeat 🫶✨
#scarfhack #scarfhairstyles #scarfhacks #hairstyles #hairtutorial
Viktoria | Hairstyle Lover

Viktoria | Hairstyle Lover

620 likes

The Annual Glute Growth Formula (Repeat Forever)🍑
From flat to full 🍑… this is the yearly glute growth system Olympians use to build muscle without ever plateauing. 👉 If your glutes aren’t growing, it’s not because you’re not working hard enough — it’s because you’re not following a system that challenges your muscles in the right way. This
Ina 🤍

Ina 🤍

8 likes

Stress, Restore, Repeat
Don't forget to grease your gears in between use. 😁 #mobility #health #fitness #body
Jenniferscircus307

Jenniferscircus307

1 like

A close-up of creamy Tuscan marry me butter beans in a pan, with a wooden spoon lifting a spoonful. The dish is rich orange with green specks and grated cheese, and the title text is overlaid.
Various ingredients for creamy Tuscan butter beans are arranged on a wooden surface, including butter beans, spinach, sun-dried tomatoes, lemon, cream, broth, and spices, with the text 'HERE'S WHAT YOU'LL NEED.'
Garlic, red pepper flakes, and fennel seeds are sautéing in melted butter in a light gray pan, with a wooden spatula resting in the pan. The text 'SAUTÉ THE GARLIC, PEPPER FLAKES AND FENNEL SEEDS IN BUTTER.' is overlaid.
My Creamy Tuscan Marry Me Butter Beans I Make On Repeat
Okay, this is one of the best things I’ve made in a while! It’s rich, creamy, a little bold, and honestly one of those recipes that feels way more impressive than it is. 😊 The sauce is packed with garlic, sun-dried tomatoes, and a hint of spice, then finished with lemon to keep everything balanc
MOON and spoon and yum | Food

MOON and spoon and yum | Food

43 likes

A graphic with the text "Your Content. Your Voice. Let's Make It Shine" in black and gold, set against a white background with green plant leaves and gold glitter. The bottom includes "She Thrives MARKETING" logo.
A graphic titled "WHY YOUR VOICE MATTERS:" explaining that people follow you, not just content, and unique style makes you stand out. It features a white background with plant leaves and the "She Thrives MARKETING" logo.
A graphic titled "HOW TO FIND YOUR VOICE:" listing three tips: start with what you love, write how you talk, and don't copy others. It's on a white background with plant leaves and the "She Thrives MARKETING" logo.
How to Find Your Unique Voice (And Use It!)
You don’t need to be like anyone else to succeed. Your voice is your superpower. Let me help you find it and OWN it. #raiseyourvoice #innervoice #contentcreator #socialmediacontentcreator #digitalmarkering
Kate | Content Creation Coach

Kate | Content Creation Coach

6 likes

ANTI INFLAMMATORY PROTEIN CHT SHT I USE ON REPEAT✨
the truth most women don’t struggle because they’re lazy or unmotivated… they struggle because no one has ever shown them simple, realistic nutrition that actually fits their lifestyle. How do i know? One, from personal experience but also my girlies training with me on the app got it down patt
Cassidy

Cassidy

19 likes

✨Repeat those while your healing your heart✨
The only way of truly letting someone go is to first acknowledge and accept that you're attached, understand the reason why you're attached, what is that person giving you or providing that you will miss once they're gone, and whether it's love or acceptance, or respect or validatio
Paola Maldonado

Paola Maldonado

38 likes

videos i watch on repeat for self improvement 😇😇
#selfimprovement #selflove #youtube #inspiration #inspirational #pilates #pilatesprincess #tedtalk #tedtalks #workoutroutine Alabama
OLIVIA 🧸😇🐚👸🏽🌷

OLIVIA 🧸😇🐚👸🏽🌷

139 likes

A meal prep container of Turkish pasta with ground beef and parsley, next to a Barilla Protein+ Rotini box and two stacked meal prep containers. Nutritional macros are displayed: Cal 574, Protein 34.2g, Fat 31.3g, Carbs 41.5g.
Various ingredients for the Turkish pasta recipe are laid out, including Barilla Protein+ Rotini, ground beef, Italian parsley, an onion, cherry tomatoes, plain nonfat yogurt, minced garlic, butter, and several spices like paprika, oregano, garlic powder, and pink salt.
A pot of boiling water on a stove with rotini pasta cooking. A slotted spoon holds some pasta above the water, illustrating the step to boil protein pasta.
This one’s been on REPEAT, it’s SOO GOOD⚡️
• This one’s a litttleeee less macros efficient than some of my other meal preps but it’s SOO GOOD, worth it to me 😂 • When trying to lose weight it’s important to still eat things that taste good to you, even if that means the macros aren’t PERFECT. • The macros are still fine, just not AS eff
Kaitlyn

Kaitlyn

371 likes

A collage of four soft watercolor illustrations depicting cozy home scenes, including interiors with furniture and windows, and an exterior with a front door. A central circle overlays the images, featuring the text "WHY HOMEMAKING MATTERS and how to do it well."
Why Homemaking Matters…
Your first day as a full-time homemaker arrives. And you can see your future stretching out before you. You’ll sleep until the sunshine streams into your bedroom, make waffles for everyone, and have one of those Martha Stewart linen closets with labels. And then reality sets in. You’re tired. Yo
At Home with Woodview Cottage

At Home with Woodview Cottage

931 likes

Arm Workout on Repeat 💪🏼
#softfitness #lemon8challenge #dumbbellworkout #sexyarms 3sets 12-15reps Use weight you can lift. 🖤
StephMass0001

StephMass0001

74 likes

The Email Templates I Use on Repeat 📧👩🏽‍💻
If you looked at my inbox, you’d probably think I’m the fastest emailer ever. Truth is… I’ve just mastered the art of templates. Working in health insurance means constant communication — client reminders, follow-ups, plan updates, and the occasional “just checking in to make sure you saw my las
julianna marie

julianna marie

87 likes

On repeat
Love music & these have been some of my faves lately! ☺️✨🎶 Ingleside #favoritemusic #repeat #whatsyourfavorite #musicrecommendation
Linda22Segura

Linda22Segura

32 likes

Tummy time toys I use on repeat as an OT & mom
These are my favorite tummy time toys as a pediatric OT who hosts tummy time classes & works with babies. Tummy time is often over complicated but the truth is, you don’t need many fancy or cutting edge toys to get a baby to engage in play when on their belly. Here’s why I love using these duri
Christine|OTmom

Christine|OTmom

46 likes

A hand holds a brown jar of a dietary supplement. Overlay text reads "Supplements That are Worth the Hype! (in my opinion)" with a white arrow pointing right. The bottom left corner has a logo and username.
A hand holds a brown jar of a dietary supplement. Overlay text presents a disclaimer: "This is my personal opinion... NOT to be taken as medical advice." A logo and username are in the bottom left.
A hand holds a brown jar of a dietary supplement powder. Text highlights it promotes relaxation, contains 3 forms of magnesium, and promotes restful sleep. It also notes that most people are deficient in magnesium.
Supplements Worth the Hype: what I buy on repeat 🔁
Again, please be sure you are listening to your own body’s needs and consulting with your physician to ensure you are being safe when trying supplements. Everyone is different and just because something works for me, doesn’t mean it may be the best option for you so please listen to your body 🫶🏼
Holly Faye

Holly Faye

523 likes

Super Easy Tater Tot Recipes to Make on Repeat!
Tater tots, or potato gems, are so versatile for recipes! One of my favorite side dishes to make are loaded tots! Just like loaded fries but tater tots! You can customize your toppings. Tater tot casserole is one of the easiest meals you can make and either enjoy it right away or prepare it ahead o
Cookingwithhals

Cookingwithhals

6 likes

One Cana template = repeat income
I used to wake up dreading the day. Working long hours, skipping lunch, and still wondering why I could never get ahead. I thought I needed a better schedule. More hours. More energy. Nope. What I really needed… was a better system. The truth? I didn’t want to be rich, I just wanted to
Samia

Samia

2 likes

Toddler Meals We’ve Been Eating on Repeat 👌🏻
Feeding toddlers doesn’t have to be complicated—sometimes the simplest meals are the ones they’ll actually eat (and ask for again and again!). Here are a few go-to meals and snacks that are always in rotation at our house. They’re easy to prep, toddler-approved, and full of goodness. Chia Se
Modern Mom | Shannon

Modern Mom | Shannon

325 likes

An overhead shot of a bear-shaped tummy time mat with various baby toys, including a mirror, an Oball, a mini pillow, and a rattle. The image has text overlay: 'THE TUMMY TIME TOYS That I use on repeat AS A PEDIATRIC OT & MOM Part 1'.
A hand holds a blue and orange standing mirror with a monkey design, placed on a bear-shaped tummy time mat. The text 'STANDING MIRROR' points to the mirror.
A hand holds a teal Oball with small rattles inside, positioned over a bear-shaped tummy time mat. The text 'THE Oball' points to the toy.
Tummy time toys that I use on repeat
These are my go-to tummy time toys as a pediatric OT who hosts tummy time classes. It makes my OT mama heart happy when babies are happy on their belly. Here’s why I love these 👇🏼 1. Tummy time mirrors- Babies are fascinated with their reflections. They love looking at faded in general. Using a
Christine|OTmom

Christine|OTmom

43 likes

See more