Перейти до основного матеріалу

Як збільшити числа, коли значення змінюється в іншому стовпці?

значення збільшення документа змінюється 1

Припустимо, у вас є список значень у стовпці A, і тепер ви хочете збільшити число на 1 у стовпці B, коли значення в стовпці A змінюється, що означає, що числа в стовпці B зростають, поки значення в стовпці A не зміниться, тоді збільшення числа починається з 1, як показано на лівому скріншоті. У Excel ви можете вирішити цю роботу наступним способом.

Збільшуйте числа, коли значення змінюється в кожній групі за допомогою формули


стрілка синя права міхур Збільшуйте числа, коли значення змінюється в кожній групі за допомогою формули

Щоб збільшити числа на основі іншого стовпця при зміні значення, вам може допомогти наступна проста формула.

1. Введіть цю формулу: = IF (A2 <> A1,1, B1 + 1) у порожню клітинку, яка поряд із вашими даними, B2, наприклад, див. скріншот:

значення збільшення документа змінюється 2

2. Потім перетягніть маркер заповнення до комірок, які потрібно заповнити порядковими номерами, і перезапустіть кожну зміну в стовпці A, див. Знімок екрана:

значення збільшення документа змінюється 3

примітки: Ось інша формула = COUNTIF ($ A $ 2: A2, A2) також може допомогти вам створити послідовність чисел, яка перезапускається для кожної зміни в іншому стовпці.

Найкращі інструменти продуктивності офісу

🤖 Kutools AI Aide: Революціонізуйте аналіз даних на основі: Інтелектуальне виконання   |  Згенерувати код  |  Створення спеціальних формул  |  Аналізуйте дані та створюйте діаграми  |  Викликати функції Kutools...
Популярні функції: Знайдіть, виділіть або визначте дублікати   |  Видалити порожні рядки   |  Об’єднайте стовпці або клітинки без втрати даних   |   Раунд без Формули ...
Супер пошук: VLookup за кількома критеріями    Багатозначний VLookup  |   VLookup на кількох аркушах   |   Нечіткий пошук ....
Розширений розкривний список: Швидке створення випадаючого списку   |  Залежний спадний список   |  Виберіть розкривний список, що вибирається ....
Менеджер колонок: Додайте конкретну кількість стовпців  |  Перемістити стовпці  |  Перемкнути статус видимості прихованих стовпців  |  Порівняйте діапазони та стовпці ...
Особливості: Фокус сітки   |  Перегляд дизайну   |   Велика панель формул    Диспетчер робочих книг і аркушів   |  Бібліотека ресурсів (автотекст)   |  Вибір дати   |  Об’єднайте робочі аркуші   |  Шифрування/розшифрування клітинок    Надсилайте листи за списком   |  Супер фільтр   |   Спеціальний фільтр (фільтр жирний/курсив/закреслений...) ...
Топ-15 наборів інструментів12 текст Tools (додати текст, Видалити символи, ...)   |   50 + Графік типи (діаграма Ганта, ...)   |   40+ Практичний Формули (Розрахуйте вік на основі дня народження, ...)   |   19 вставка Tools (Вставте QR-код, Вставити зображення зі шляху, ...)   |   12 Перетворення Tools (Числа до слів, Валютна конверсія, ...)   |   7 Злиття та розділення Tools (Розширені комбіновані ряди, Розділені клітини, ...)   |   ... і більше

Покращуйте свої навички Excel за допомогою Kutools для Excel і відчуйте ефективність, як ніколи раніше. Kutools для Excel пропонує понад 300 додаткових функцій для підвищення продуктивності та економії часу.  Натисніть тут, щоб отримати функцію, яка вам найбільше потрібна...

Опис


Вкладка Office Передає інтерфейс із вкладками в Office і значно полегшує вашу роботу

  • Увімкніть редагування та читання на вкладках у Word, Excel, PowerPoint, Publisher, Access, Visio та Project.
  • Відкривайте та створюйте кілька документів на нових вкладках того самого вікна, а не в нових вікнах.
  • Збільшує вашу продуктивність на 50% та зменшує сотні клацань миші для вас щодня!
Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Hi i have a scenerio like:-

Code Price Result
2 100 1
2 250 2
2 300 3
4 600 1
4 800 2
5 900 1
5 1000 2
5 1000 2
6 300 1

how would i get values that i want in result column
This comment was minimized by the moderator on the site
Hello,
I'm sorry, I didn't understand your question. Could you describe it in more detail?
Thank you!
This comment was minimized by the moderator on the site
Hi,
Not sure if this is he best place to ask this but would love your help on this formula. I deposit an amount say $300 in my bank and get interest say $1.5 per day on the given amount. Once the accumulated interest reaches $100 (in a certain no. of days) I reinvest it and deposit it back into the bank which then increases my interest to $2.5 per day and so on. I would like the increasing interest, no. of days taken for each cycle amount accumulated and total amount invested in a table. The part I'm facing difficulty is in the part where the interest increases in each row and also want to constrain it to reinvest it if above $100 only, and also the amount of days it took for me to go above $100 each time.
This comment was minimized by the moderator on the site
Io devo fare questo:
In una casella ho un numero che va da 0 a 100 e vorrei che in un altra casella che ha valore iniziale 0 aumenti di una unità quando nella prima casella si passa da 0 a 5 e poi ogni 10. Quindi da 5 a 15 e l'sltra casella passa da 10 a 11, da 15 a 20 e l'altra casella passa da 11 a 12 così via.
This comment was minimized by the moderator on the site
I have number in a column. I want to count how many times that there is a break in the numbering sequence. So if you have 2,3,4, 10, 13,14,15. You would get a count of 3 times there was a break between the sequence in the numbers. I have spent two days trying all different kinds of formulas. Please help.
This comment was minimized by the moderator on the site
How to make this arrayformula? 
This comment was minimized by the moderator on the site
Hey! I have to imput steps from 1 to 15 and then the time used for that step is displayed in another collumn but then I want this time to stay the same when I change te step number. How do i make a collumn stay the same so I can imput other data?
Thanks!
This comment was minimized by the moderator on the site
If i have a list like this
BananaBananaBananaOrangeOrangeCherryCherryBananaOrange
How do i make it keep increment the sequence number in function of the name, i want it to recognized that he already seen this word/Number before in the column. do i have to always put a sorting filter to make it work?
thanks,
Evelyne
This comment was minimized by the moderator on the site
If you use the other suggested formula, =COUNTIF($A$2:A2,A2), Excel keeps counting no matter the order the words are in.
This comment was minimized by the moderator on the site
Hello Is there a way to calculate orange as total 6 and not show the increment order like 1,2,3,4,5 but at the end of row as 6 before entering into next new name
This comment was minimized by the moderator on the site
i need to increment number using the duplicate criteria, means if the criteria changes the Main Serial Number and Sub Serial Number should change, for example
1.1 604
1.2 604
2.1 605
2.2 605
2.3 605
3.1 606
3.2 606
4.1 607
4.2 607

hope you got my point. kindly help
This comment was minimized by the moderator on the site
is there a way to do this but I want to separate the different numbers, for example like
A1 1
A2 1
A3 2
A4 3
A5 3

I would like to automatically calulate the maximum number 1 in a row, maximum number 2 etc
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations