I was wondering if there is a solution to the following:
In a table the first two columns identify the value in the third column.
name quarter value
andrea mrch 600
pete mrch 700
andrea jun 900
pete jun 850
and so on with more names and more quarters.
How can I read the value for a specific name in a specific quarter?
I have tried nested if's in an arrayformula's but I can't get it working properly.
Thank you all for your contributions. My problem is solved with a combination of Match, Index and Offset.
Related
I have created a daily journal in Spreadsheets where each day has it's own section. In each section, I created a questionaire that asks the user how they are doing in that day. I would like to add on top of that questionaire a different greeting per day, so I wrote a list with 30 variations in each cell (for example: "hello", "good morning", "buenos dias", "bon jour"...).
Where the different greetings will show up
list of greetings
I tried to use the rand() formula to select different greetings but since that formula is volatile and updates every time I make a change, it wont work for me.
As a solution, Each daily section starts with a cell countaining the date, so I thought that since each day would have a different greeting, I could use the number value of each date to drive the selection (for example: 05/05/2022 is the number value 44686, the next day is 44687).
I thought about using the Index formula but it requires that I use a number from 1 to 30 to retrieve one of those 30 greetings. I think that even if I were to somehow transform the date into a number from 1 to 30, perhaps in a few days, the value would end up being bigger than 30.
Anyway, I appreciate any help!
Gabriel
I have rows of data where up to 3 id's match. I need to try and find the number of days between each of the rows with matching id's using the date field. I am looking to find the number of days between each row in date sequence. So between the first and second row in date sequence, or second and third row but not the first and third row.
So a simplified version of my rows can be seen in the attached image.
image showing 2 ID's with multiple entries. John Smith (highlight yellow) who has 3 entries, two on the same day and one later and Bill Wright who has just two entries on separate days.
The results I would be looking for would ideally be shown in column 4 of the image.
Is there any way I can do this in a formula or pivot table? (basically avoiding VBA) Any suggestions hugely appreciated! Thanks.
This array formula
=IFERROR(B2-INDEX($B$1:$B$9,MAX((A2=$A$1:A1)*ROW($A$1:A1))),0)
will work as long as your data are sorted by date (which your screenshot indicates they are):
I have a data set which has incidents resolved w.r.t date. I would like to look at the trends of number of incidents resolved over the past 45 days only on a Clustered column chart.
I couldn't see entries for specific dates (because the number of incidents resolved was zero on that day). How do I include those dates as well showing the number to be zero?
I tried the following:
1) Enabling "Show items with no data" - While this working fine, it is removing the last 45 days filter and is showing me unnecessary trends. The last 45 days filter is set on a page level and report level filter as well.
2) Creating a new measure to replace null values with 0 when the count of incidents resolved on a particular day is 0 - It again removed last 45 days filter.
Someone please let me know what I can do to get the required trends over last 45 days.
Thanks
This can be late reply, but I hope it may be useful for future users. As I suggested in a comment, you can try using measure for achieving this.
I have designed the following table with sample data.
INCIDENT_RECORD Table:
Created Measure:
Total Incident = IF(SUM(INCIDENT_RECORD[Resolved Incident])=BLANK(),0,SUM(INCIDENT_RECORD[Resolved Incident]))
Now I have designed Clustered Column Chart with & without Measure to show difference for you.
Clustered Column Chart with/without Measure:
First graph is showing label as 0 (Zero) which doesn't have any value
for that date.
Second graph is not showing data for Jan-03 in your case.
Feel free to ask your doubts/clarifications in the comment section.
First, make sure the column on your x-axis is a date data type. Then go to the Format tab for the visual and under the X-Axis options, set the Type to Continuous (rather than Categorical).
my table as below
account_name debit_balance credit_balance
abc 100 50
pqr 80 100
xyz 150 90
I create one formula as below
Amount=(debit_balance-credit_balance)
now i want sum of all amount that is
Sum(#amount)
I try As below
Sum(debit_balance-credit_balance) but it not work
I find solution on net but not get
Reply if u have any solution
When you make one formula, you can't do any more summarizes of that calculated field (formula). That's why your first solution didn't work Sum(#amount)
Other solution Amount=(debit_balance-credit_balance)didn't work because you can make sum only for 1 field and you trying to make sum of 2 fields.
So solution for your problem is that just do a new formula Amount = sum(debit_balance) - sum(credit_balance) where you make 2 summarizes of each fields and subtract them.
Hope it helps
I am trying to use c# to create timesheet entries in Project Server and running across a problem with saving the number of hours for the timesheet line on a certain day.
If I look at the dataset, there is a property for TS_ACT_VALUE. If I use 1 hour it shows 60000. Does anyone know what the calculation is to get that value, or another method of saving the number of hours worked on a timesheet line item?
John,
Per the documentation at http://msdn.microsoft.com/en-us/library/websvctimesheet.timesheetdataset.actualsrow.ts_act_value.aspx the TS_ACT_VALUE column "represents the actual cost recorded for this timesheet line item."
I am aware of the actual definition of the column but was more interested in how they get the calculation for it. when i look at sample data the column is divisible by 1000
it simply because the time is reprensented in milisecond... simply multiply your value in a hour by 60000