DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Trickiest EXCEL formula problem ever!  (Read 4,332 times)

kalos

  • Member
  • Joined in 2006
  • **
  • Posts: 1,824
Trickiest EXCEL formula problem ever!
« on: September 28, 2018, 03:53 PM »
Hello!

I have a row with dates that are start of weeks ongoing. Below that, I have one row with numbers. Below that, I have a row that I want to fill in with a formula.

In an independent cell, I input a date. Then the formula I want to fill in, checks if the date is future/past of the date at the top row in the same column. If future, it fills the cell with zero.
The problem is what I want it to do if the date is past.

I want to display the ratio of the number above in the middle row and the same column, with respect to the sum of the middle row numbers. The tricky bit is what exact sum I want it to consider.
I want the sum of the first cell in the column that the bottom line cell is not zero, up to the end of the row.

I need somehow to reference and store in a variable that. Or somehow calculate that ratio, considering the right sum, which is fixed once defined, but it is defined by the first cell that gets a non zero value.

I don't want to do this with a macro as I don't know anything about macros. Any help?

Thanks!

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 9,827
    • Participated in NANY Challenge Eight Times
    • Cody Award
Re: Trickiest EXCEL formula problem ever!
« Reply #1 on: October 01, 2018, 03:53 AM »
Try asking on a website designed for people to ask questions and get them answered, such as Stack Exchange:

https://meta.stackexchange.com/questions/90919/which-stack-exchange-site-is-best-for-microsoft-excel-questions

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 11,205
    • Participated in NANY Challenge Fourteen Times
    • Coding Snacks
    • Writer
    • Hardware Hacker
Re: Trickiest EXCEL formula problem ever!
« Reply #2 on: October 01, 2018, 02:41 PM »
Try asking on a website designed for people to ask questions and get them answered, such as Stack Exchange:

https://meta.stackexchange.com/questions/90919/which-stack-exchange-site-is-best-for-microsoft-excel-questions
:Thmbsup:

Original address: https://www.donationcoder.com/forum/index.php?topic=46466.0