formulas & functions
1719 TopicsHow do I make excel change the colour of a cell depending on a different cells date?
Hi, How do I make excel change the colour of a cell depending on a different cells date? Turn A2 red if - E2 cell is smaller than todays date Turn A2 yellow with red outline if - E2 cell is equal to todays date Turn A2 clear if - E2 cell is bigger than the current dateSolved2.2MViews0likes74CommentsFormula or function for IF statement based on cell color
I don't know how to code in VBA but am trying to automate an if/then calculation based on cell color. As shown in the picture, if the colors of the cells in column B are the same as those in Column G across the row, I want to subtract the values in columns F and K in the same row to return the absolute value of the subtraction in column L. If the colors of the cells are different, I want to add the values in columns F and K and return the value in column L. I will have multiple tables of varying numbers of rows where I need to perform this operation. Any help is greatly appreciated.Solved1.6MViews2likes33CommentsHOW TO: "If cell contains specific text then return specific text"
I'm trying to extract a bunch of specific text combinations from cells and present it in a new cell. This formula seems to work for two variables but I can't add any more variables too it. =IFERROR(IF(SEARCH("*Sales*",B3,1),"Sales"),IF(SEARCH("*Arch*",B3,1),"Architecture")) The text I would be searching for would be: Sales, Arch, Land, ALL, Contracts, Construction and possibly a couple more. Is there a way to do this?Solved586KViews1like38CommentsConditional Formatting based on Separate Column
HI, I'm new to excel formulas and conditional formatting! I'm using a spreadsheet to track new hires, and I'm trying to figure out how I can use "less footsteps" and not have to apply conditional formatting to every.single.cell. in a column..... I'd like to be able to type in something into my "L" column, and have the "D, M, N & O" columns to change color based on what is typed. I know that I can go in and individually click on the cells and then conditionally format them, but I'm going to have well over 300 different entries that I'm going to be working with. I'd love to get that time back! I've tried searching on this forum but can't find what I'm looking for....Thanks for your help! I've attached a snip to show what I'm working with. 🙂524KViews1like3CommentsHighlight the minimum value in each row
Hi. I'm a complete beginner to Excel and need some help please. I'm doing a spreadsheet comparing prices from different companies for hundreds of products so I'll have about 10 columns and up to 1000 rows. I want the cheapest price in each row to be highlighted after I input the data. Could somebody please help me do this? I'll be mainly using Excel android app. Thank you in advance.358KViews0likes4CommentsCopy Data to Other Sheets' Columns Based on Criteria
I have one Orders sheet and 12 Month sheets (Jan, Feb, Mar, etc). The Orders sheet has five columns: Dept, Vendor, Brand, Cost and Date. The Dept column has ten different options ie Truck, Car, RV, Boat, etc. The Orders sheet will have all the order data for an entire year. The Month sheets have the same columns as the Orders sheet excluding the Dept and Cost columns. Instead of one column for Dept there are 10 columns, one for each of the options. These columns will be populated with the cost of each option. This makes a total of 13 columns on the Month sheets. Vendor, Brand and Date columns are A1:A3 and the Dept options columns are A4:13. I would like to populate the Month sheets based on the Date column from the Orders sheet. For example, all the orders between Jan 1 and Jan 31 would appear on the Jan sheet, all the orders from Feb 1 to Feb 28 on the Feb sheet and so on for the remaining Month sheets. Depending on the option selected in the Dept column of the Orders sheet, I would like the associated cost to populate the corresponding options column on the Month sheet. For example, if on the Orders sheet an RV was entered at a cost of $35,000, that cost would be transferred to the Month sheet to the appropriate option column. In this case the RV column. To sum up, each row in the Month sheets would have the Vendor, Brand, Date and Cost in the appropriate option column. This data would be auto populated from the Orders sheet. Is there a formula(s) that makes this possible? Thanks in advance!Solved259KViews0likes11CommentsCombining IF and INDEX functions
I'm trying to find a formula that will allow me to display multiple fields of data when a specific value (a product SKU) is entered into a cell. I managed to get this to work with a VLOOKUP formula, whereby I could enter the SKU into one cell, and have the following cells display various values, such as the brand, item, Net cost, VAT, gross price and so on. However, want to use an INDEX formula instead so that if I edit the reference table then it won't affect the returned results. I also want to be able to specify which columns/value are returned (for example, I don't necessarily want to display the Net cost of a product. From what I can tell, VLOOKUP only allows for either a single column's value to be returned, or all of the specified columns from left to right, with no option to omit any. I think I need a combination of IF and INDEX, whereby IF the value matches an SKU in, say, Column A, then values relating to that product code are returned. I thought I was getting there with the following formula (albeit only being able to return one value): =IF((P15=D:D),INDEX($E$15:$O$105,0,2)). D is the worksheet column in which all of the SKUs are listed. This worked if I entered the relevant SKU on row 15, as it returned the correct gross price that was displayed in column 2 of the reference table. However, a value is only returned if the SKU is that of row 15, otherwise it displays 'FALSE' if I try and search prices using any other any other SKU input. This has been driving me mad for hours, so I'd be hugely grateful if anyone is able to enlighten me. Thank you.Solved250KViews0likes8CommentsWriting a formula to return a blank if no data is in an adjacent cell
I've forgoten how to how to write a simple formula that will keep the cell blank if there isn't any data in an adjacent otherwise it should do the calculation. This is how I wrote it. =IF((E7=" "," "),(F6+E7)) Thank you180KViews1like5Comments