• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

How to jump to cell beside next unique cell?|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / How to jump to cell beside next unique cell?|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…How to jump to cell beside next uni…
sp_PrintTopic sp_TopicIcon
How to jump to cell beside next unique cell?
Avatar
Sari Becker
Member
Members
Level 0
Forum Posts: 6
Member Since:
September 16, 2016
sp_UserOfflineSmall Offline
1
November 6, 2018 - 3:31 am
sp_Permalink sp_Print

I know how to quickly find the next unique cell in a column (shft +cntrl then down arrow + \ ), but I'd like to take it one step further.

Is there a way for me to jump to a cell (in Column A) that is beside the next unique cell in Column B? Does that make sense? The reason I want to jump to it is because I'd like to enter data in Column A, and then copy that data down until the data in Column B changes to something different.  

In the attached file, you'll see that in Column A (Batch #) I've entered some Batch #'s. Column B (Fee Type) & Column C (Amount) already have data in every cell. The workbook is sorted by Fee Type. I need to create batches of contributions grouped by fee type. I use a new Batch # for each Fee Type.

My workbook typically has 3000 rows, and about 35 different Fee Types (which means 35 Batch #'s). Some batches have up to 1000 contributions.
Instead of dragging the Batch # down until I see that there's a new Fee Type in the next column, I'd like to be able to double click the corner of the cell with the Batch # in Column A so that it copies down until it recognizes that there's a new (different) Fee Type in Column B.

Does that make sense? And if so, is this possible?

sp_AnswersTopicSeeAnswer See Answer
Avatar
Paul Wakefield

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
July 26, 2013
sp_UserOfflineSmall Offline
2
November 6, 2018 - 6:51 pm
sp_Permalink sp_Print

If you use Shift+Ctrl+down+\ in column B then cursor left into Column A and up 1, Shift+end+up and Ctrl+D that should work (and is actually a lot quicker than it looks!). You could skip the "Up 1" and you would have an entry to edt for the next batch number.

A formula solution might also be worth exploring if your real data is as structured as your example data.

 

Paul

sp_AnswersTopicAnswer
Answers Post
Avatar
Sari Becker
Member
Members
Level 0
Forum Posts: 6
Member Since:
September 16, 2016
sp_UserOfflineSmall Offline
3
November 8, 2018 - 4:12 am
sp_Permalink sp_Print sp_EditHistory

Wow! Paul, thank you so much! That is so simple, and it works perfectly! I appreciate your help very much! 

My real data really is as structured as my example data... well, those three columns are anyway. What type of formula are you thinking could work in this situation?  

Again, thank you very much!

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
November 8, 2018 - 10:24 am
sp_Permalink sp_Print

Hi Sari

Refer attached for a formula solution.

Hope this helps.

Sunny

Avatar
Sari Becker
Member
Members
Level 0
Forum Posts: 6
Member Since:
September 16, 2016
sp_UserOfflineSmall Offline
5
November 9, 2018 - 3:12 am
sp_Permalink sp_Print

Wow! You guys are amazing! Thank you so much, Sunny! Your formula did exactly what I am looking for! I must admit, I have no idea what most of the formula means, but I don't care. I copied and pasted it and it is perfection!

Thanks again, Sunny and Paul!

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
6
November 9, 2018 - 10:42 am
sp_Permalink sp_Print

Hi Sari

Glad to know the formula is working for you.

Let me try to explain the formula in detail: =IF(B3<>B2,"D"&RIGHT(A2,6)+1,A2)

What the formula does is to check if the Fee Type of cell B3 is different from B2 (B3<>B2)

If it is different then add 1 to the previous Batch # else just repeat the previous Batch #

Here we have a problem if we need to add a 1 as the Batch # is text as it has a prefix D.

So I have to remove the prefix D to get the number BEFORE I can add 1 to it.

The function RIGHT(A2,6) will extract the 6 digit number without the prefix and now I can add 1 to it with RIGHT(A2,6)+1.

Then I need to "join" back the prefix to the new batch # with  "D”&RIGHT(A2,6)+1

Hope I explained it clearly enough.

Sunny

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Lynnette Altomari, Jessica Stewart, Roy Lutke, Jeff Krueger
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Sopi Yuniarti
sandra parker
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Forum Stats:
Groups: 3
Forums: 24
Topics: 6214
Posts: 27243

 

Member Stats:
Guest Posters: 49
Members: 31894
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.