This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I am trying to figure something out and after nemerous searches and i still cannot find a post that does what I'm looking for.
I basically have an ID(a) field, another field with Date(b) and a third field that I did the calculations for which gives me the Date(c) as well.
I need to figure out whether value from c matches b, based on the ID in a
e.g., (calculating sum based on year)
I basically do calculation for Date Previous which should give me the previous year
Sorry if this is confusing, all I need to do is calculate the "Sum-Previous" field, but only sum the Price field if value of Date-Previous exists in Date Current based on the ID.
Please let me know if I should specify anything else.
Go to Solution.
Go to Solution.
Hi @hal_dal ,
I'm attaching an example that shows how to do it.
Take a look and let me know if this works for you.
Thank you so much!
That's a very clever way of dealing with this.
It seems to work for the data set whose previous date doesn't already exist.
But for any previous date that exist in the current date field, it's not grabbing the values of the "current date" price
You will see below that the first 3 rows in the last column is showing 0 which is correct since the Previous Date doesn't exist in Current Date.
But anything after that, the previous date do exist, but instead of showing 76, as that's the relevant data, it's showing 831
Would you be able to share that dataset for me to adapt to it?
Here is my attachment, I have removed some irrelevant data and have made them short.
Thank you so much for your patience and for answering me so quickly!
Just wondering if you were able to see what I may have done wrong?
I have been trying a similar logic with different tools/columns but no luck.
Sorry, I've forgot to check it out due to the weekend.
I think I've misunderstood the proposal at first, but I've corrected now.
Thank you sooo much!!! Worked like a charm!