Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-08-2017, 04:19 AM
ArviLaanemets ArviLaanemets is offline Formula needed; I'm helpless Windows 8 Formula needed; I'm helpless Office 2016
Expert
 
Join Date: May 2017
Posts: 961
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Quote:
Originally Posted by Ylli View Post
It always belongs to the column where row 26 has a 1 in it..



An example:
Code:
 
Row ... DayA DayB DayC DayD DayE ...
24   ... 1   1         1    1
25   ... 1   1         1    1
26   ... 1   1    1    1    1
Now the question is, do belong these empty cells to DayB, or to DayC? No way to decide based only on DayB : DayC columns, without processing all days at least from start of block of 1's, when not from start of table. And what when the block starts with halfway filled data? P.e. in my example in column DayA the row 24 is empty, but really not filled jet.
Reply With Quote
  #2  
Old 12-12-2017, 06:53 AM
Ylli Ylli is offline Formula needed; I'm helpless Windows 7 64bit Formula needed; I'm helpless Office 2010 64bit
Novice
Formula needed; I'm helpless
 
Join Date: Dec 2017
Posts: 5
Ylli is on a distinguished road
Default

Quote:
Originally Posted by ArviLaanemets View Post
An example:
Code:
 
Row ... DayA DayB DayC DayD DayE ...
24   ... 1   1         1    1
25   ... 1   1         1    1
26   ... 1   1    1    1    1
Now the question is, do belong these empty cells to DayB, or to DayC? No way to decide based only on DayB : DayC columns, without processing all days at least from start of block of 1's, when not from start of table. And what when the block starts with halfway filled data? P.e. in my example in column DayA the row 24 is empty, but really not filled jet.
Hello

The empty cells should belong to Day B

So I have 3 extra rows now with:

1) 2 Meals before night (easiest, no help needed with this one)
2) 1 Meal before and after night
3) 2 Meals after night

So it now just counts those 3 "possibilities" and I have them on paper now. What I now Need is some Kind of Formula that can calculate if there's only one refund or two in complicated cases like this one:

Row ... .......A......B......C.......D.......E ...
24 .............................1
25 ......................1......1
26 ......................1......1
...
30 ......................>Formula<


My Problem is this:

The example up there is one refund, right? Because B26, C24, C25 are one refund OR C24,C25,C26 could be one refund, but it's only one of either. The way I'm going now, it recognizes "B" and "C" as a refund, which I don't want.. So I would Need something like: If B30 is 1 due to C24 and C25 belonging to it, then don't put 1 in C30

Does something like this exist? I can upload the file again if you want.
Reply With Quote
Reply

Tags
complicated, formula, needed



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula needed; I'm helpless Help needed with IF formula with a Vlookup jonnie_rc Excel 6 08-31-2017 01:27 PM
Formula needed; I'm helpless hard formula needed nfsmith Excel 6 03-19-2016 06:12 PM
Formula needed; I'm helpless Formula help needed Cosmo Excel 1 08-23-2012 11:50 AM
Very simple formula needed! nicholes Excel 4 04-12-2012 08:28 AM
Excel formula needed. Rod Excel 1 08-03-2009 06:55 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:08 PM.


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