Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-28-2022, 07:54 AM
ksor ksor is offline Missing formula OR VBA code ?? Windows 10 Missing formula OR VBA code ?? Office 2016
Advanced Beginner
Missing formula OR VBA code ??
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 74
ksor is on a distinguished road
Default Missing formula OR VBA code ??

I have attached a Excel sheet with a little ridle I cant solve !


The Knr yellow columb to the left contains a 1 CHAIN of digits 1..10 if you 'follow' the pointer columb to the right:


Knr=1 'points' to Knr=2
Knr=2 'points' to Knr=3
.
.
.
.
Knr=9 'points' to Knr=10
Knr=10 'points' to Knr=1 linking back to Knr=1




and a CHAIN is made up of 10 links!


This CHAIN can be cut into smaller chains by ADDING a number to Knr and you'll get Knr' - try replace the 0 with a number ... lets say 1 !


Then you'll get 10 chains each with only 1 link !


If you replace 0 with 2 you'll get 1 chain with 10 links


If you replace 0 with 3 you'l get 2 chains with 5 links each.


I need a FORMULA

OR



some VBA code that can tell me how many chains the is in the Knr' columb

when you add a number to Knr !


I think I'll have to SELECT the range C8:17 first !


Do you have any ideas how this could be done ?
Attached Files
File Type: xlsx Forum.xlsx (10.6 KB, 11 views)
Reply With Quote
  #2  
Old 08-28-2022, 10:58 PM
ksor ksor is offline Missing formula OR VBA code ?? Windows 10 Missing formula OR VBA code ?? Office 2016
Advanced Beginner
Missing formula OR VBA code ??
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 74
ksor is on a distinguished road
Default

Someone here taking up the challange ?
Reply With Quote
  #3  
Old 08-29-2022, 09:42 PM
ksor ksor is offline Missing formula OR VBA code ?? Windows 10 Missing formula OR VBA code ?? Office 2016
Advanced Beginner
Missing formula OR VBA code ??
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 74
ksor is on a distinguished road
Default

No reply at all ?
Reply With Quote
  #4  
Old 08-30-2022, 06:42 AM
ksor ksor is offline Missing formula OR VBA code ?? Windows 10 Missing formula OR VBA code ?? Office 2016
Advanced Beginner
Missing formula OR VBA code ??
 
Join Date: Feb 2018
Location: Århus V, Denmark
Posts: 74
ksor is on a distinguished road
Default

Ok - then drop it, I'll go somewhere else
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing formula OR VBA code ?? VBA: Referring to a table name variable within formula code le_robert Excel 3 08-09-2022 06:45 AM
Need formula or vba to find product from code value nethunter Excel Programming 2 06-05-2022 03:00 AM
Missing formula OR VBA code ?? Trying to create a formula for descriptions to be added if a code is entered rthomas Excel 6 10-24-2016 06:39 AM
Excel 2007 - formula or macro/vba code required wrighty50 Excel Programming 3 05-13-2012 02:24 PM
Missing formula OR VBA code ?? Formula to select description when code is entered Natasha Excel 1 09-25-2011 12:59 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:53 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft