Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
106 views

I need to combine two dataframes: one with detection data and another with the metadata for those detections. The column names of the first dataframe, which is called rt_det are: tag_id, power, ...
Tanya Lemieux's user avatar
1 vote
1 answer
77 views

I am trying to create an expression with an IIF statement: 1st condition that takes a parameter minus 1 = field1 2nd condition takes another parameter = 'field2 true false I have tried to use switch, ...
Julie 's user avatar
  • 11
2 votes
2 answers
99 views

Fair warning I'm very new to using VBA and I've looked all over this site but I can't seem to a similar question. I'm hoping it's a pretty easy solution though. I have these checkboxes 1 - 4 Example ...
Rach P's user avatar
  • 35
0 votes
2 answers
69 views

I've been trying to see the average salary of each profession of a hospital (this is an exercise BTW) but I can't manage to make an average for each service separately. My last and what I believe is ...
Samir Kanoun's user avatar
0 votes
1 answer
30 views

I have a data set that is pulled together from different sources, but on one table. I need a formula that will help me evaluate and choose the correct column. 3 Text Columns USI 4Ever_Code Kit_Code ...
Tom Johnson's user avatar
0 votes
2 answers
53 views

I'm working on an Excel project and I need to assign scores to athletes based on their time and gender. I don't have a helper table, and I want to do this using a formula that takes both gender and ...
Adidek's user avatar
  • 3
0 votes
1 answer
69 views

I have this query that I am trying to add a condition to to filter out the results of a report given a time frame (time frame in my sheet is N2 and N3) What I have now is the following and it works ...
A.Be's user avatar
  • 87
0 votes
0 answers
108 views

I am trying to compare Sheet 1 row E to I and see if at any of these values matches the corresponding column C to G in sheet 2. Both sheets have the same header. If any of cells matches in sheet 2 on ...
sipirili's user avatar
1 vote
2 answers
234 views

For a report, I need to calculate the SUMPRODUCT() of amounts in a data table multiplied by a factor value determined using a lookup table, the factor value (and thus column) to use depends on ...
Marsupi96's user avatar
1 vote
1 answer
46 views

I'm dealing with a dataframe showing answers to a questionnaire by several participants. A certain question can have many correct answers and the data look like this: a <- c(0, 0, 1, 0, 1) b <- ...
Filippo Marolla's user avatar
0 votes
3 answers
80 views

I am trying to classify variants according to their type (polymorphisms, insertion or deletion). Here is a snippet of my input : A T G C T AG C T TT C AT CC Here is the dput output, if you need ...
user25420086's user avatar
0 votes
1 answer
58 views

I'm trying to get a yes or no result from comparing certain items that could be the content of a cell (F2) with certain possibilities from (H2) and again from (K2). If all the conditions are true then ...
Bryan Burns's user avatar
0 votes
1 answer
66 views

Setting up an expression with conditional logic to determine the type of requisition within our business logic. Some requisitions can have multiple REQ_LINE.LN_TYPE (e.g. Req Line 1 = CAT & Req ...
Aher's user avatar
  • 1
1 vote
3 answers
253 views

Can you please help me with finding the count of distinct (case sensitive) products sold (Column B) per store (Column C) as per below data? Product_sold column has data from B2: B10. Store column has ...
kjd513's user avatar
  • 11
0 votes
1 answer
128 views

I'm getting an error message with this formula but can't see the wood for the trees of what's missing - please help! if {vehinv_rec.master_class_2} = "RCV" and if {vehinv_rec.chassis_model} ...
Lizzi McCarthy's user avatar
0 votes
0 answers
44 views

I am a SQL beginner and self learner working on improving my SQL fundamentals. I am trying to use retrieve the min and max Entry_ID to calculate emission values based on certain dates. I have 2 tables ...
Bella's user avatar
  • 1
0 votes
1 answer
98 views

I'm trying to run a proc sql macro that contains multiple conditions strung together. Is there a way to correct the code below for the 2nd macro (rn_cnt) or is there a better approach? Background: ...
Jont's user avatar
  • 37
0 votes
3 answers
176 views

I want to fill the price column in sheet 1 based on two criteria first criteria is a code which i will use xlookup to find the respective row in the table in sheet 2 the second criteria is the one in ...
Hussein Geebril's user avatar
0 votes
1 answer
84 views

In the first table, I have client number, start date and other columns: Client number start date other1 other2 xyz 2024-04-01 values10 values20 abc 2024-01-02 values11 values21 ert 2024-01-03 values12 ...
Kings2407's user avatar
1 vote
1 answer
66 views

I'm struggling to find out how to create a flag. My data set looks like this: CPT PRODUCT DATE A B C D etc. 1 A date1 . ...
user23920387's user avatar
0 votes
0 answers
42 views

I am trying to assign reviewers to projects with the condition that the author of the project cannot be assigned as a reviewer to a project in their own portfolio. I created a dataset with variables ...
Jeaniewiththelightbrownhair's user avatar
0 votes
1 answer
40 views

I have an example below where I need to perform a right join with multiple conditions: 1st dataframe: df_1 <- data_frame( dates = c(as.Date("2023-03-01"), as.Date("2023-03-05")...
newt335's user avatar
  • 199
1 vote
1 answer
93 views

The task of this For loop would be to collect data from the two worksheets and use it in a user form. In the first part, the data should be copied if the EmplID and today's date match. If this ...
Szabolcs 's user avatar
-2 votes
1 answer
204 views

I'm trying to create a conditional that is based on two columns. The first condition is based on a city, let's say it needs to match the value "Texas" and the second condition is a range of ...
Ruben's user avatar
  • 1
1 vote
2 answers
72 views

I have a large data frame, df_f, with different levels across multiple column (5 columns in this example): c1 <- as.factor(c("NA", "1.1_mif", "NA", "NA", &...
SebMoine's user avatar
0 votes
2 answers
57 views

I am not sure how to check if a variable is an even number, but more than zero. Is it possible to put 2 conditions for one statement? Is the following wrong? > if (i %% 2 == 0 & i > 0){ ...
BoxingIvy's user avatar
-1 votes
1 answer
81 views

I have the following dataset on R: patent_id CPC xxxxxx Y02P xxxxxx H01M xxxxxx GO1H xxxxxx AO2A yyyyyy A01B yyyyyy Y02E yyyyyy Y02T yyyyyy Y04S For each CPC equal to CPC-Y02 (Y02A, Y02B, Y02C, Y02D, ...
user17563853's user avatar
1 vote
1 answer
55 views

I have 3 sheets. The first sheet is named ACTUAL HRS. It has a table that starts from A to F. Column A is the User ID and Columns C1, D1, and E1 are headers for dates from Nov 01 to Nov 04. The values ...
alexisgerminal2's user avatar
3 votes
1 answer
86 views

Let say I have the following table: df <- data.frame( a1 = 1:5, b1 = as.character(1:5), c = 1:5 ) > df a1 b1 c 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 4 5 5 5 5 I would like to ...
demarsylvain's user avatar
  • 2,205
1 vote
2 answers
85 views

Hi would be great to get some help on this for Python Pandas.TIA I have a dataframe which has 1M rows with below columns: PID lurn_fls locality Comparision ACT933 2 Kambah mbn:match both non-empty ...
Ashu's user avatar
  • 27
0 votes
1 answer
135 views

I have a range of non-contiguous cells that I want to copy across from one sheet (wseDNA1) to a second sheet (wsElog1). I only want to copy if the value in wseDNA1 is not "NR", and if the ...
Kim Woods's user avatar
-2 votes
3 answers
464 views

Hi i got this database with cars and every car has options I got a cars table and a options table. Link one to many, a car has n options a option has exactly one car. I use the database to filter for ...
knutalbrecht's user avatar
0 votes
1 answer
894 views

sample data https://docs.google.com/spreadsheets/d/1Asd_7njduyx4ku9ZzqqBLmbLxXuZ2RBNlZvCQx12bFk/edit?usp=sharing Referring to above sample data pictures & link, I need help make formula in Column ...
Yana_ck's user avatar
0 votes
3 answers
228 views

The table The task is: Count the number of customers who simultaneously: have more than 5 payments that exeed 5000 dollars and have an average payment value of more than 10,000 dollars I have done ...
Eva's user avatar
  • 3
0 votes
1 answer
375 views

I want to write an indicator on tradingview solve one pine script problem. I have three indicators (for example MACD, EMA14 and volume) and I want to check these indicators for specific period. If in ...
cetas's user avatar
  • 3
-1 votes
1 answer
15 views

loop to input sales for multiple emplyees, nested for loops to input the sales each week for monthly total. total sales and emplyee count are accumulated for the month and checked against sales goal. ...
Leslie's user avatar
  • 1
1 vote
1 answer
707 views

I am using Power Query Editor and need to change several columns based on a several conditions. At the moment I am doing this in 3 separate steps using Table.ReplaceValue, but with each iterative ...
Jason Rogers's user avatar
1 vote
2 answers
43 views

I am trying to replace the values of a dataframe column with the value of the same column but from another row. The ID of the COUNTRY with type "TO_REPLACE" must be replaced by the ID of the ...
Gustavo's user avatar
  • 77
0 votes
2 answers
310 views

I am using R dplyr and trying to mutate multiple columns in place. These columns are var1-var3, and they currently contain values of either 1 or NA. I want to apply the following logic: if a given row ...
saddas's user avatar
  • 75
1 vote
1 answer
225 views

Is there a better way writing this logic.requirement is to apply sequence of conditions in the specific order. It’s a fall through conditional logic, assume it’s like a funnel. It has to go and ...
Alagu Narayanan K's user avatar
0 votes
1 answer
223 views

I have a MongoDB collection named "Applicants" with documents containing information about applicants, including their last name, type, and an array of phone numbers with different types ...
Hrishikesh Mehta's user avatar
0 votes
1 answer
938 views

I have the following problem in a Data Factory data flow: I have two pipelines that extract data: one daily on weekdays, and one monthly on the first working day of each month. In the data flow I ...
fabio.sitzia's user avatar
1 vote
1 answer
121 views

I hope someone can help me out with this! I haven't found anything online that comes close enough. Sample data: import pandas as pd sample_data = { 'id': [1,1,1,1,1,2,2,2,2,2], 'date_rank': [1,2,3,4,...
avgjoe13's user avatar
  • 115
0 votes
2 answers
2k views

I'm a bit confused with "or" and "and" operations inside "if" statements. Here, if(condition_1 || condition_2) in this operation, when the OR operator checks both of the ...
Yasin Arafat's user avatar
2 votes
2 answers
63 views

I have a problem with sorting my strings which are stored in a list. The string is actually a path/filename of a measurement and looks e.g. like this: 'Data\Test1\Test1_<...
Martin's user avatar
  • 23
0 votes
0 answers
48 views

I try to create a formula in another sheet that verify for the first sheet if all the following conditions are true: In Column A ="User 1", column C starts with "01" and for Column ...
Iulian Kondor's user avatar
3 votes
1 answer
148 views

I'm trying to find the unique combinations that fulfill the given criteria, sorted by cost. An example: Criteria: [A, B, C, D] Entities: [ E1 = (costs = 5, covers = [A, B, E]), E2 = (costs = 5, ...
BFMeenink's user avatar
0 votes
1 answer
182 views

I hava a dataframe (df) with 16 numeric columns. Its rownames are gene IDs. Something like this: colnames (df) [1] "pval_hr6_vs_0" "ratio_hr6_vs_0" "...
ginn's user avatar
  • 175
0 votes
1 answer
71 views

I need to add a second condition to my code. If Len = 3 and UPC is blank, then move the Group Code left 1 column. I've the action part resolved. The second condition has me stumped. I tried And in the ...
Julie's user avatar
  • 13
0 votes
1 answer
710 views

First let me explain this system: this is one of a couple of states all based on 3 inputs. None work at the moment so I took this one apart to test it. This state is true if u1>0 & u2>20 &...
misterm1995's user avatar

1
2 3 4 5
14