Conditional formatting for 2 different sheets - excel-formula

I am making a sheet which has a single log sheet and 2 calender's linked to the same. There are Domestic and international orders and i want to highlight the Only Indian orders in domestic calendar. Vlookup is not working. Please assist with any function or VBA code
I tried using index and match but to no avail
Log Sheet
Calendar sheet
In the above image the blank colored cells are to be removed and only the cells which displays name should be colored
I tried this formula
=INDEX(Table26[[Country/Region]:[Status]],MATCH(G$5,Table26[Dispatch Date],0),7)
But,when i enter/copy paste the formula in conditional formatting, it shows a formula error pop up.
Is my formula wrong and if yes what is the correction needed?

Related

Copy excel Picture to different tab using IF THEN formula

I've created an order flow in excel with conditional formatting. The conditional formatting shows the manager the timeline of an order based off of the start date and end date. I've inserted pictures on a separate sheet (sheet2) in the excel file that I would like to overlay on the timeline start date to give the viewer a visual of what product was ordered and how many days (start - end) it will take to arrive.
Is there a way to use a formula within the cells on the order flow to pull back the pictures from Sheet2? The formula I currently have references the picture but the picture pulls back "0" into the cell on Sheet1.
I also created VBA to copy the picture from sheet2 to sheet1 but I'm having a really tough time getting it to paste to the correct cell. That route might be a dead end.
Current formula:
=IF(AND(F6=I6,H6=Sheet2!$B$11,Picture1,"NA"))
Current table without pictures:
What I would like to accomplish with formulas or macros:
Here's what sheet2 looks like for reference:

reference value only(no background fill, etc.) of a cell in another worksheet in Excel

I have a workbook in Excel 2010 with 2 worksheets.
Sheet 1 has rows of data sorted by dates with different numbers of rows for each date.
Sheet 2 calculates the daily averages based on the dates and puts them on individual rows,(1 row for each date) using formula =Sheet1!A5 which works fine but the row band color is copied too so Sheet 2 looks poorly formatted with regards to the row banding which seems to be inherited with reference.
How can I retain the uniform banding in sheet 2 and keep the fill color from being copied along with the cell's data?
If I understand Your question right: You dont want the cells to be colored in Sheet 2, but You want the values to be the same as in Sheet 1.
Judging by the pictures You have provided there is a Conditional formatting on Sheet 1. I think that You copied Sheet 2 from Sheet 1, using right click and Copy or move and the formatting was copied as well. On Sheet 2 under Conditional formatting delete or edit the current formatting rules. Make sure to select "This Table". That way You can see all the rules on Sheet 2, and its easier to delete or edit.
Formulas in Excel can't bring colors, so it has nothing to do with that.

Excel / VBA: How to set a conditional number formatting based on another cell value?

I have an excel sheet that I am integrating some VBA code to it, but I am not been able to figure the following out.
On Cell G8 I have a drop-down list where I have the a description of the values on cells G9:G12, which are the following: Percentage, Discount, Premium. And on cells G9:G12 I have empty cells where I input my numbers.
Is it possible when I select for example, Percentage on cell G8, the number formating on cells G9:G12 change to "Percent"? And when I select Discount or Premium, the number formating changes to "Currency"?
Thank you!
Although Bigben is close in this comment (using conditional formatting with a formula like =$G$8="Percentage", it did not work in my case: I needed to put the value of the corresponding text ("Percentage"=1, "Discount"=2 and "Premium"=3), which changes the formula into:
=$G$8=1

Delete row if any column contains conditional formatted red cell

I have an Excel sheet which I populate data with every week. Based on a long list of conditional formatting Excel gives me 3 columns of red cells as in attached example:
Can you please help me in automating the deletion of these red rows.
The report I am looking for is expected to have no red cells. So we need to delete the complete row if any cell has this conditional formatted red.

Query Formula on Sheets Not Working In Excel

I have a Google Sheet in which I mirror data that meets specific criteria from the main tab to various other tabs using =query and it works! But when I try to use the same exact formula in the same exact sheet in Excel, I return a #NAME? error. Is there an Excel-friendly formula I can use to do the same thing?
The sheet is comprised of a main tab called LeadList which, just as it sounds, is a list of a bunch of leads for potential sales. Column G is a Y/N (yes/no) column indicating if the item was sold. If a cell in Column G says Y, I want that whole row to show up on the next tab, titled SOLD. This was achieved in Sheets using the following formula pasted into the first available cell in the SOLD tab:
=query(LeadList!A5:J,"Select * Where G='Y'",0)
Here is a picture of the spreadsheet in Sheets
Thank you
Google sheets and Excel are not the same product. Google sheets has functions that don't work in Excel and vice versa.
Excel does not have an equivalent to the Google sheets "query" function.

Resources