Automatically translated.View original post

✨ Just type the employee's name, Excel runs the sequence number automatically, ➕ also finishes counting.

✨ Just type in the employee's name, Excel runs the sequence number automatically. ➕ Finish counting how many people there are. ✅

Don't count by name anymore. 🎉

Anyone who works HR or supervises employees must have this technique on their desk!

# Excel # Trending # exceltips # Excel simple # Exceltutorial

2025/9/27 Edited to

... Read moreถ้าตารางพนักงานของคุณเป็นแบบ “พิมพ์ชื่อเพิ่มเรื่อยๆ” แล้วอยากให้เลขลำดับวิ่งให้เอง (ไม่ต้องลากสูตรทุกครั้ง) แนะนำทำ 2 ส่วนคือ “รันเลข” และ “นับจำนวนพนักงาน” แบบอัตโนมัติค่ะ 1) รันเลขลำดับอัตโนมัติ “ตามข้อมูลชื่อพนักงาน” สมมติคอลัมน์ A = เลขลำดับ, คอลัมน์ B = ชื่อ-นามสกุล (เริ่มที่แถว 2) ใส่สูตรที่ A2 แล้วลากลง: =IF(B2="","",COUNTA($B$2:B2)) แนวคิดคือ ถ้าแถวนี้ไม่มีชื่อ ให้เว้นว่าง แต่ถ้ามีชื่อ ให้ COUNTA นับจำนวนชื่อสะสมตั้งแต่แถวแรกจนถึงแถวปัจจุบัน เลขจะเพิ่มเองทันทีเมื่อพิมพ์ชื่อใหม่ 2) รันเลข Excel “ข้ามช่อง/ข้ามแถวว่าง” ให้เลขไม่กระโดด สูตรด้านบนทำได้อยู่แล้ว เพราะถ้า B2 ว่างจะไม่แสดงเลข และแถวถัดไปที่มีชื่อจะนับต่อเนื่อง (เช่น 1, 2, เว้นว่าง, 3) แต่ถ้าคุณมีข้อมูลอื่นปน เช่นมีช่องว่างจากการคัดลอก หรือมีเว้นบรรทัดในช่วงกลาง สูตรนี้ช่วยให้เลขไม่เพี้ยน 3) ถ้าต้องการรันเลขเฉพาะแถวที่ “มีชื่อ” แต่ชื่ออาจมีช่องว่าง (space) บางทีมีการพิมพ์เว้นวรรคไว้ ทำให้ดูเหมือนว่างแต่จริงๆ มีค่า แนะนำปรับเป็น: =IF(TRIM(B2)="","",COUNTA($B$2:B2)-COUNTIF($B$2:B2,"")) หรือถ้าข้อมูลค่อนข้างสะอาด ใช้ TRIM ในเงื่อนไขก็พอค่ะ 4) สูตรนับ “จำนวนพนักงานทั้งหมด” ให้จบในช่องเดียว ถ้าชื่ออยู่คอลัมน์ B: =COUNTA(B:B)-1 (ลบ 1 กรณีมีหัวตาราง) หรือถ้าต้องการนับเฉพาะช่วงข้อมูลจริง เช่น B2:B2000: =COUNTA(B2:B2000) 5) ทริคสำหรับงาน HR/รายเดือน ถ้าตารางมีหัวข้ออย่าง “จำนวนพนักงาน”, “ยอดเงินเดือน”, “จำนวนอายุงาน”, “ตำแหน่ง” แล้วต้องเพิ่มรายชื่อทุกเดือน แนะนำทำเป็น Excel Table (กด Ctrl+T) ก่อน จากนั้นใช้สูตรแบบ Structured Reference จะลากตามอัตโนมัติและกันสูตรหายเวลาเพิ่มแถว ลองใช้ชุดสูตรนี้แล้วจะรู้สึกว่าการทำรายชื่อพนักงานลื่นขึ้นมาก โดยเฉพาะเวลาต้องอัปเดตข้อมูลประจำเดือนและอยากให้เลขลำดับ + จำนวนคนอัปเดตเองทันทีค่ะ

Related posts

Sequence in excel or google sheets
The =SEQUENCE function in Google Sheets is a game changer for generating numbers automatically. No more typing rows manually. In this quick tutorial I’ll show you how it works and how you can use it in real projects. #googlesheets #exceltips #spreadsheettips #googlesheetstricks #datame
Sireen | Data Mentor

Sireen | Data Mentor

7 likes

Comment “stain” for the products I used 👇 I get asked constantly what stain I use—so here’s the wood finish you can’t mess up. This is my go-to combo from @RMP Finishes 🪵 Boardwalk color, mixed 2:1 so it’s watery enough to roll on ✨ Wipe it off with the grain—dries super fast so you can fini
Built by bec

Built by bec

477 likes

My GF finishes her food then takes mine😭
#couple #couples #foodie #foodlover #couplegoals
The YUH Family

The YUH Family

14 likes

Would You Buy A Home Next To A Farm?
Would you choose to buy a new build home that backs to a farm? Location is arguably the most important part of buying a home, and it is something you should choose wisely based on what will work best for you and your family long term. Floor plans can be changed. Finishes can be updated. Location
Brandy Aguirre

Brandy Aguirre

764 likes

Doing my makeup according to my zodiac?? I’m a Capricorn and this is what I got 😱 #greenscreen #makeup #makeuptrend #zodiacsigns #capricorn
slaybyjess

slaybyjess

126 likes

🎄 Holiday Sparkle Made Easy
If you want a holiday look that feels effortless, glowy, and glam, this one is EVERYTHING. Use liquid eye shimmer as the base and layer a soft smoky gray shadow on top…and the sparkle is unreal. Perfect for parties, date nights, and cozy December selfies. 🎄💫 🖤 How to Get the Look Swipe a thin l
LoveandLashes1230

LoveandLashes1230

39 likes

4 baseline finishes you need to master 🔥📈🎒
RhodesBasketball

RhodesBasketball

0 likes

🔥 WHEN JEALOUSY RUNS IN THE BLOOD
🩸🔥 THE HANDMAIDENS OF MODESTY ROW — PART 3 When the Mirror Chose Violence ━━━━━━━━━━━━━━━━━━ The Goddess didn’t raise her voice. She didn’t argue. She didn’t explain. She simply turned the Mirror around… and Modesty Row SCREAMED. Every woman who lived by shrinking felt their spir
she posts in prophecy

she posts in prophecy

13 likes

Step Inside This Beautiful Custom Home! ✨
From the welcoming entry and open staircase to the statement kitchen centered around an oversized island, every part of this custom home was thoughtfully designed. Warm wood tones, beautiful lighting, and timeless finishes bring it all together! • • Design/build: @DJKCustomHomes #luxuryho
DJKCustomHomes

DJKCustomHomes

26 likes

Finishes for ELITE HOOPERS 💦📈🎒
RhodesBasketball

RhodesBasketball

9 likes

STOP ruining your projects with blotchy stain. 🛑👇 Welcome to Furniture Building 101 (Ep. 2). Today we are fixing the most common mistake beginners make: applying stain directly to raw wood. If you are working with softwoods like Pine or Maple, they act like a sponge. If you skip the prep, y
Built by bec

Built by bec

51 likes

I’m going to teach you how to revive an old cutting board! I have been putting this off for 3 years even though it’s incredibly easy to do. Here’s exactly how I did it (save this for when you do yours!): 1. scribble all over the board with a pencil, then sand with 80 grit, 120 and 150.
Built by bec

Built by bec

96 likes

An open K-beauty cushion foundation compact with a puff, resting on a white textured fabric. Overlay text highlights it as a foundation that replaced an old one, requiring no filter.
A closed, oval-shaped cushion foundation compact, light pink in color, resting on a white textured fabric. Overlay text describes how it makes skin look healthy, glowy, and breathable.
An open K-beauty cushion foundation compact with its lid and a separate puff, showing the product pan, on a white textured fabric. Overlay text suggests it's ideal for a natural or effortless K-beauty look.
Glass Skin in One Step? Milk Touch Cushion Review
I tried the Milk Touch All-Day Skin Fit Milky Glow Cushion and it’s giving soft, hydrated, glass skin in the best way 😍 Here’s my quick review: ✨ Finish: Super radiant, dewy, and skin-like — that natural glow without looking greasy ✨ Coverage: Medium + buildable (covers redness and small ble
Saela 😊

Saela 😊

253 likes

🥐✨ Almond lovers, this one’s for you ✨🥐
ALT Perfume Almond Croissant is a buttery, almond-infused dream from the Dessert Collection. Think gourmand bakery vibes in a bottle—warm, cozy, and mouthwateringly. I am a true almond lover — if it smells like almond, I’m already obsessed. But this surprised me I wasn’t expecting it to be this
ThePerfumeVault

ThePerfumeVault

22 likes

Cynthia Erivo, wearing a cap, sunglasses, and a blue hydration vest, smiles broadly while holding her bronze London Marathon finisher medal and a water bottle. She is seated, celebrating her achievement after completing the race.
Cynthia Erivo stands smiling at the London Marathon finish line, holding up her bronze finisher medal and a water bottle. She wears a cap, sunglasses, a light blue top, and a blue hydration vest, celebrating her successful race completion.
Cynthia Erivo smiles at the London Marathon finish line, holding her bronze finisher medal and a water bottle. She wears a cap, sunglasses, a blue hydration vest, and a bib showing "FINISHER" and "TATA CONSULTANCY SERVICES 2026".
Cynthia Erivo finishes the London Marathon with a new PR 🏃‍♀️
No broomstick needed for @Cynthia Erivo to defy gravity at the London Marathon this weekend 💚
MTV

MTV

1 like

This Might Be The Funniest “Get Rich” Plan On The Internet #viral #trending #fyp #3danimation
Cat Memes

Cat Memes

682 likes

attention: first soup of the season! 🚨 miso-butternut squash soup with a gruyère grilled cheese on homemade sourdough #soupseason #souprecipe
Lauren King

Lauren King

23 likes

#CheerNetflix #Cheerleading #NavarroCheer #CheerDocuseries #GabiButler
truckk29

truckk29

339 likes

Little finishes make ALL the difference!
I had to make sure the quarter round matched the floor by the sliding door at the house in Georgia. I totally forgot to bring a piece of the flooring to Lowe's with me, but somehow, I nailed the color match. Small victories like this feel so good! What's your favorite detail that ties a spa
AlishaCollinsRE

AlishaCollinsRE

6 likes

4 Finishes All Guards Need to Master 📈🔥 @Ball AI
RhodesBasketball

RhodesBasketball

3 likes

🤯 Do you know what’s in your wooden spoons?
🛍️BUY ON AMAZON: https://amzn.to/4e8oCmF I thought a wooden spoon was just wood… until I started researching how wooden kitchen utensils are actually made. Many wooden utensil sets are manufactured using multiple pieces of wood joined together with adhesives, glues, stains, lacquers, or synt
Dr. Clarissa

Dr. Clarissa

975 likes

anthea dress progress: it’s all in the details🧵
assembling the anthea dress and i’m getting so excited to see it finally come together! i’ve been focusing heavily on the construction for this practice version, and i’m honestly so proud of the neat finishings. i did have to add some length to the straps (about 2 inches) to adjust the fit, but
kyarah💐

kyarah💐

79 likes

✨Interior design finishes I can't get over
Ever wonder what it's like working in construction and seeing the finishes of houses everyday? Let's just say my 6 million dollar taste in homes isn't quite in the budget and I simply cannot be frugal about it 😅 what's one non-negotiable for your dream home? #interiordesi
Alex Campbell

Alex Campbell

38 likes

❄️✨ Winter Arc | Day 51 ✨❄️ The Woman Who…
…Finishes What She Starts 🌑🔥 Dark Bloom is not about intensity — it’s about follow-through. Quiet. Consistent. Undeniable. Finishing is a form of self-respect. Completion is a form of self-devotion. When you close loops, you reclaim energy that’s been leaking behind you. A woman who fi
nkroft

nkroft

1 like

Pretending I’m a stay at home mom for 2 weeks🤭🤗 #dayinmylife #morningvlog #spendthedaywithme #dayinthelifevlog #pregnant
abbie turner

abbie turner

5 likes

Top 3 Nude lippies🤎
If you know me, you know I LOVE me a nude lip 💋 I’ve tired so many new lippies and always find myself using these time after time🤎 They all have different finishes so you can pick your like!🤎 #lemon8partner #nudelips #lipcombos #makeup
diana💋

diana💋

52 likes

✨🌸 Plush Flower Pot 🌸✨
Be honest… Do you finish all your crochet projects but delay the sewing part forever? Or are you one of those disciplined angels who must finish everything before starting something new? Options below, drop the comments which one is you! 🤭🌻✨ 1. I crochet everything first, sew later &#
⋒ Mushee Plushies ⋒

⋒ Mushee Plushies ⋒

3 likes

See more