worksheet-function

Excel: need help with unusual lookup function (sorted column is different from lookup column)

Hello, I am having trouble constructing a unusual lookup formula in Excel. Normally, I would use VLOOKUP(), but the pitfall is that I want to look up a number in a column from a table that is sorted on an other column. Vlookup can only lookup things on the sorted column itself. The scenario is as follows: The table is sorted ascend...

Excel: What's the best way to get the value of a Relative Row but from a Fixed Column?

The following formula will always return the value of the 4th column (D) of the next row. =INDIRECT("R[1]C[" & 4-COLUMN() & "]",FALSE) Is there a better way to achieve the same results? ...

Nested If Statements Returning zero if nothing entered in cell.

Listed below is the formula. I would like to return zero if nothing is entered in the cell.How would i do this? =IF(E6>0,F6/E6,"") ...

Excel Help: Sum or Count until?

Ok, so here's my problem... and I'll preface this by saying that I'm pretty well-versed in Excel; however, I've very little knowledge about the INDIRECT function (so if it's something obvious with the INDIRECT function, please excuse my newb-ness). I'm trying to make my Compliance Worksheet a bit more efficient. I have a list of contro...

Excel Match Bug in a sparse range with duplicate keys

Data in TheRange is {1,"",1,"",1,"",1,"",2} =Match(2, TheRange, 1) returns 9 as expected =Match(1.5, TheRange, 1) returns 7 as expected =Match(1, TheRange, 1) returns 5 which is not expected Anyone come across this ? Anyone got a fix? Additionally if I use Worksheet.Function.Match in VBA I get more unexpected results. ...

excel function to get value of another cell

I hope the image above can explain what I need. :) Problem 1: Get the date where it is the first value in the row Problem 2: Get the date where the value is 100 I would also attach the actual excel file, but I am limited to posting only 1 link. ...

excel formula problem

Kindly check the below written formula, if the formula is not correct then please provide me the correct one that is related to this. IF(A1:AV7000=F1,vlookup(f2,B1:C7000,2,0),0) As I have tried above written formulas, but it's not working. ...

Conditional Formatting in Excel

I'm very new to Excel and VBA and was wondering if there is a way I could make conditional formatting based on values in a drop down list (created from data validation). I currently have a warning if the user enters something that is not valid (data validation), but I want to change the cell's background color to red if invalid, or gree...

Excel: VLOOKUP that returns true or false?

In Excel we have the VLOOKUP function that looks for a value in a column in a table and then returns a value from a given column in that table if it finds something. If it doesn't, it produces an error. Is there a function that just returns true or false depending on if the value was found in a column or not? ...

Excel Prorated SUMIF

I have a worksheet with 2 columns, one is a dollar amount, and the other is a day of the month (1 through 31) that the dollar amount is due by (the dollars are income streams). So, I use the following formula to SUM all the income streams due on or before a certain day: =SUMIF(C5:C14, "<="&$B$42,B5:B14) Column C is the due day B42 is...

Sum variable range of cells using "today's" date as starting point.

How do you sum a variable range of cells based upon today's date in MS Excel 2003. Spreadsheet format: Variable range = # of days to sum Date range = listed in row 1, 1 day per cell (example A1=1/1/10, B1=1/2/10, C1=1/3/10....) Numbers to be summed - listed in row 2, X number per cell (example A2=8, B2=6, C2=1.....) example problem:...

Need help creating an IF statement with 3 possible answers, each based on a different range of data

I have 3 ranges of numbers and the answer depends on the range. 75-79=0.255 80-84=0.327 85+ =0.559 I tried to create an equation that accounts for the ranges, however excel states that I have entered in too many arguments for this function. Below is the equation that I entered that is not working. (X2 contains the number) =IF(X2=7...

Linking cells in same Excel spreadsheet

In Excel, how can I set up a spreadsheet so when I type in one cell it will populate another cell in the same spreadsheet? ...

Use cell value in vlookup formula

=vlookup(c2,code1,2,false) I am using the vlookup code but I would like to use the cell value in 'c2' rather than c2 itself. The value within this cell will change, at the moment it is 'aj2'. Is there an easy way of doing this? Hi Thanks, that doesn't seem to work for what I want. I suppose it might be easier if I explain what I want ...

excel ttest array with condition

Hi, i don't want vb code answer for this one. I was just wondering how to do this, for example in MS Excel there is a TTEST function which takes in array1, array2, tails, and type. My question is for array1 for example I want to put A1:A3, but I don't want some of the values and do not want them counted as a total number of available va...

How to compare every second column cell to a specific value ?

Hi! I have a problem in Excel 2007. I need to compare one value - letter "C" - to a range of cells that are on one row. The problem is that the values should be in every other cell. So if I have a row like this - C 434 C 324 C 3453 - it should say in a cell in the end - OK And if I have a row like this - C 22 B 665 C 8877 - it should ...

How to create a function in Excel to validate cells using RegExs

I have a long spreadsheet with tariff codes that I need to validate and I would like to create a function with RegEx to do it automatically (this is a daily task that I will have to do for the following months and I would like to automatize) For example in Column A, I have the following data: CODE 1000.00.00 1000.10.00 1020.12.99 ... ...

I want to sum every 7 rows in a worksheet and put the sum in different column & rows

I have never really used Excel before but this seems like it should be possible. I have an ongoing document where I will be adding values every day, but what I want it to do for every 7 rows I want it to sum those values and add the sum of the 7 rows to a different column/row, e.g., Row B7:B14 Sum in D12 Row B15:B22 Sum in D13 And th...

excel: how do i break up cell contents into CODE

There is a code function that returns ASCII for every letter. I would like to use it in a way that it will break up a cell a1 = "some string" Into it's ASCII codes: Something like this: "23423423434634" Sorry I don't know the exact ASCII of that but you get my point. please note that i would like to do this specifically with a formu...

excel data entry help

Hi all, i have a column like the following: 1 red 2 blue 3 red 4 5 blue 6 7 8 white the blanks refer to the record above it. so #4 would be associated with red and 6 and 7 would be blue. is there an easy way to fill in the blanks for entire column? thanks, rod. ...