V
V
vladeol2018-02-08 18:54:10
excel
vladeol, 2018-02-08 18:54:10

How can I get information from cells with data by condition?

Task:
There are cyclically repeating columns by dates, where the number of sales and earnings are indicated -
prntscr.com/ibxsff (Day 1-4)
Need: determine the number of days for which the last 5 sales were made (highlighted in gray) and calculate the amount for these days (yellow column).
For me, this is the only way so far:
if sales on day 4 >=5, return the data;
if sales on day 3+4 >=5, return, etc. But the number of days is theoretically infinite (added daily), respectively, through "if" it will be an infinite formula. It is also not possible to determine "by eye" the number of sales, because they are very chaotic. It can be either 100 per day or 0 throughout the year.
I hope I explained myself quite clearly. Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
akelsey, 2018-02-08
@akelsey

Initially incorrectly presented data is difficult to analyze.
You first make the correct normalized table, and make the visualization separately (pivot table for example).
Then there will be no such pain.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question