Przejdź do głównej zawartości

Jak zwiększać liczby, gdy zmienia się wartość w innej kolumnie?

zmiany wartości przyrostu doc ​​1

Przypuśćmy, że masz listę wartości w kolumnie A, a teraz chcesz zwiększyć liczbę o 1 w kolumnie B, gdy wartość w kolumnie A ulegnie zmianie, co oznacza, że ​​liczby w kolumnie B będą rosły do ​​momentu zmiany wartości w kolumnie A, a następnie przyrost liczby zaczyna się ponownie od 1, jak pokazano na lewym zrzucie ekranu. W programie Excel możesz rozwiązać to zadanie za pomocą następującej metody.

Zwiększaj liczby, gdy wartość zmienia się w każdej grupie z formułą


strzałka niebieski prawy bąbelek Zwiększaj liczby, gdy wartość zmienia się w każdej grupie z formułą

Aby zwiększyć liczby w oparciu o inną kolumnę, gdy zmienia się wartość, pomocna może być następująca prosta formuła.

1. Wprowadź tę formułę: = JEŻELI (A2 <> A1,1; B1 + 1) do pustej komórki, która obok twoich danych, B2na przykład patrz zrzut ekranu:

zmiany wartości przyrostu doc ​​2

2. Następnie przeciągnij uchwyt wypełniania w dół do komórek, które chcesz wypełnić numery sekwencji i uruchom ponownie dla każdej zmiany w kolumnie A, patrz zrzut ekranu:

zmiany wartości przyrostu doc ​​3

Note: Oto inna formuła = LICZ.JEŻELI (2 A $ 2: A2; AXNUMX) może również pomóc w utworzeniu sekwencji liczb, która jest uruchamiana ponownie przy każdej zmianie w innej kolumnie.

Najlepsze narzędzia biurowe

🤖 Pomocnik AI Kutools: Zrewolucjonizuj analizę danych w oparciu o: Inteligentne wykonanie   |  Wygeneruj kod  |  Twórz niestandardowe formuły  |  Analizuj dane i generuj wykresy  |  Wywołaj funkcje Kutools...
Popularne funkcje: Znajdź, wyróżnij lub zidentyfikuj duplikaty   |  Usuń puste wiersze   |  Łącz kolumny lub komórki bez utraty danych   |   Okrągły bez wzoru ...
Super wyszukiwanie: Wiele kryteriów VLookup    Wiele wartości VLookup  |   Przeglądanie pionowe na wielu arkuszach   |   Wyszukiwanie rozmyte ....
Zaawansowana lista rozwijana: Szybko twórz listę rozwijaną   |  Zależna lista rozwijana   |  Lista rozwijana wielokrotnego wyboru ....
Menedżer kolumn: Dodaj określoną liczbę kolumn  |  Przesuń kolumny  |  Przełącz stan widoczności ukrytych kolumn  |  Porównaj zakresy i kolumny ...
Polecane funkcje: Fokus siatki   |  Widok projektu   |   Duży pasek formuły    Menedżer skoroszytów i arkuszy   |  Biblioteka zasobów (Automatyczny tekst)   |  Selektor dat   |  Połącz arkusze   |  Szyfruj/odszyfruj komórki    Wysyłaj e-maile według listy   |  Super filtr   |   Specjalny filtr (filtruj pogrubienie/kursywa/przekreślenie...) ...
15 najlepszych zestawów narzędzi12 Tekst Tools (Dodaj tekst, Usuń znaki, ...)   |   50 + Wykres rodzaje (Wykres Gantta, ...)   |   40+ Praktyczne Wzory (Oblicz wiek na podstawie urodzin, ...)   |   19 Wprowadzenie Tools (Wstaw kod QR, Wstaw obraz ze ścieżki, ...)   |   12 Konwersja Tools (Liczby na słowa, Przeliczanie walut, ...)   |   7 Połącz i podziel Tools (Zaawansowane wiersze łączenia, Podział komórki, ...)   |   ... i więcej

Zwiększ swoje umiejętności Excela dzięki Kutools for Excel i doświadcz wydajności jak nigdy dotąd. Kutools dla programu Excel oferuje ponad 300 zaawansowanych funkcji zwiększających produktywność i oszczędzających czas.  Kliknij tutaj, aby uzyskać funkcję, której najbardziej potrzebujesz...

Opis


Karta Office wprowadza interfejs z zakładkami do pakietu Office i znacznie ułatwia pracę

  • Włącz edycję i czytanie na kartach w programach Word, Excel, PowerPoint, Publisher, Access, Visio i Project.
  • Otwieraj i twórz wiele dokumentów w nowych kartach tego samego okna, a nie w nowych oknach.
  • Zwiększa produktywność o 50% i redukuje setki kliknięć myszką każdego dnia!
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