How to use If statement to transfer a cell value from sheet1 to sheet 2 in Google Sheets?

Ryan IT

I just want to know if its possible to use the IF STATEMENT in Google Sheets by such algorithm as follows;

On Sheet1, from Cell A1, I have a value blue, and if the value inside the cell is blue, it should be transferred in Sheet2, I don't know if the syntax is correct, but it's something like this.

=if A1 VALUE(Blue) then TRANSFER to sheet2 else FALSE;

Just to interpret how should it work, but I know the code is wrong. Any help will be greatly appreciated guys.

kirkg13

I'm not too clear if this is the result you want, but perhaps something similar:

=QUERY(Sheet1!A1:E19,"select A, D, C, E, B where A like 'makati%'",1)

See my added sheet, Makita-GK, in your sample.

Is that doing what you want? If not, please provide more details of what you want the result to be. Note that I added some data values in your Sheet1 data. If that isn't the type of data you have, please adjust it accordingly.

If necessary, please update your question to clarify the following.

Do you mean "where D='makati'...." or "where A='makati'...."? Column D is lastname in your sample data. Also, you had no data values with makati1 or makati2 in column A?

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Google Sheets API: Read single cell value from public sheet

How to update cell values of Sheet2 based on dropdown option chosen on Sheet1?

Value in Cell on Sheet1 Changes Color Gradient in Cell on Sheet2

How to reduce Inventory in sheet1("stock") on the bases of product sold in sheet2("sales") through google sheets script...?

Google Script, how can I copy a row from Sheet1 to Sheet2 instead of just one cell by using regex?

How to get the cell values (Sheet1 from Google Form, Sheet2 from Formula) to google doc template

How to Append Sheet 1 to output in Sheet 2 in Google Sheets from JSON imported data

Google sheets: How to use the CLEAN function on referencse from a different sheet

Concatenate 2 cells from Sheet1 to 1 cell Sheet2

excel compare current time value from sheet1 to time value range from sheet2

Excel: how to sum values in sheet2 based on whether a value in sheet1 matches value in sheet2

how to switch to a variable sheet based on a cell value in google sheets

How to run a macro in sheet1 from sheet2

Copy Range Sheet1 Paste in Active Cell Sheet 2

How To copy data from a range in sheet1 to sheet2 5 times until I reach an empty cell?

Speed up transfer of rows to another sheet based on cell value in google sheets

Excel VBA button. Copy rows from Sheet1 to Sheet2 / Condition: column value

Copy a row from Sheet1 and paste it into Sheet 2 if color of a cell is green

Autocopy cell value from one cell to another sheet by clicking an icon in google sheets

How to copy data from sheet1 of workbook1 to sheet 2 of Workbook2?

How to Cut line from Sheet1 and Paste to Sheet2 if the date on a cell is 30+ days old?

EXCEL If cell in sheet1 equals specified value, populate the members name in sheet2

Copy columns from Sheet1 to Sheet2 & remote duplicates using Google App Script

Google Sheets - How to retrieve a value from a range in one sheet to use in a formula on another sheet?

Google Sheets how to copy note from cell in separate sheet based on entered value

How to get the value from another sheet with rows using Google Sheets?

How to get the sheets key of a google sheet into a cell in the sheet automatically?

How do I reference a sheet in google sheets by using name of the sheet name from a cell within the main sheet?

How to get value from a sheet to another sheet with a criteria in Google Sheets?