I came across this formula but could not for the heck of it understand what exactly does it do. I will really appreciate if some one can make me understand what this formula is intended to do.

=Countif(data,data)
where data is the named range..

I have a formula in a spreadsheet set up by someone else and it says. =HLOOKUP(C$30,J$2:$N$259,ROW()-ROW($2:$2)+1,). Can some one explain what it is doing in the bolded part? I understand basic vlookup and hlookups but not what this is doing. I have looked at the help but it only says that it returns the row numbers as reference but what does that mean. - and what does the "+1," and the comma at end mean.

The formula below was posted recently as a way to extract a numeric substring from somewhere in larger string. When I first saw this formula, how it "came up with the goods" and so I spent some time looking at parts of it to see what they did.

Although I've made some progress, I still don't fully understand it. Heres the formula, and below Ive detailed how far I've got:

1. The formula is returning the first substring of contiguous numeric characters from the full string in Cell A1 2. 9.99e + 307 ensures that the search value won't be exceeded by the returned value. 3. The Mid function uses Min(Find( to get the character position of the first numeric in A1 (so MID then has its first 2 parameters). So far so good. 4. Now... I cant work out where MID parameter 3 (the substring length) comes from. I suspect its the row function, but can't see how as this isn't an array formula, and without CTRL+Shift+ Enter, I could only get Row to return 1 in my experiments (giving me only the first substring digit).

How does the formula return the correct number of numeric characters, (apparently) without counting them?

I managed to find a couple of responses and solutions to a problem I'm having but I can't quite seem to make it work in my example (probably because I have no idea on how to decipher the formula...)

The problem I'm having is that I have an autofiltered log on one worksheet and on a seperate worksheet, a summary reflects the autofiltered criteria but I also need the summary to break down the information by month.

Is there any way you can add comment/explanation when you drag cursor over Button for running macro? Same like here if you position cursor over b it would say "Bold".

I'm making a basic excel sheet as a hotel reservation tables. Sometimes we accommodate who do not follow the hotel regulation, so we add them to the black list table, made from (First name, Last name, Phone number). See image below:

Then if we reserve for a new customer, we use this sheet:

Here is my question:

what should i do, to make a raw color turn to red if i have entered a black listed visitor ?

e.g. if i enter "Martin" as a first name, AND "Issa" as Last name, AND "76344909" as a Phone. then the raw will turn to red to indicate that this customer is black listed.

I have a spreadsheet that contains a list of dates: What I need is a formula that will count the number of cells that hava a date more than 6 months old. I also would like the field automated so I don't have to change the date manually every day.

=COUNTIF(S5:S593,"<2012/06/18") This formula will give the correct read out, but I must change the date manually.

My attempts at adding a =today() command in place of the date result in 0 being the result (not correct)

This is what I have tried: =COUNTIF(S5:S593,"<"=TODAY()-"183")

my current formula is =COUNTIF('Input Page'!A2:A50000,"=Monday")

i'd like to change it to check what day is in the field and then only do the above formula if that day is within the past week.

so i need the "=Monday" section to be changed to read "(is equal to monday) and (is between today and today-6)" ...todays date will be taken from 'Input Page'!B2:B50000

See attached document, there are 11 cells in which will either contain Yes or No. Looking at the different combinations that there can be there can only ever be 9 out of the 11 cells being used or 10 out of 11 being used.

Also the last question (Row 25) could be filled N/A if this occurs I would like the formula not to count that. Is there a counting formula or IF formula which can be done to help me out?

i have a spreadsheet that acquires data from 42 other worksheet and in a row of cells it has yes or no at the bottom of that row i have =COUNTIF(A2:A34,"YES"). But it will not count the yes' because the cells that it is trying to count all have formulas in them like =tues!A34 or similar is there a different formula i can use to still count the yes' even in a cell containing a formula?

I already have a conditional format which is working OK. I would like to put a formula in the cell so it shows a % so currently it would be 100% as there is 3 cells below showing 3 greens.

Alternativily each colour is worth a value - Green = 1, Amber = 2, Red = 3. So Cell I3 would show 3.

I want to count the number of cells in column B that contain the start with the string US/IL. Here's the formula that I created, but it returns a value of 0 instead of 590.

Is there something I need to do differently when a cell value contains the / character in the string?

=SUM(COUNTIF(B5:B1830,"US/IL"))

Once I have the correct formula for the above, I want to write another formula on the row below that counts how many rows of this 590 value have a corresponding "Yes" value in Column M.

I am using the following formula to calculate the number of responses:

=COUNTIF([Cleanliness of Environment:],"None of the above")

However, I only want the number of cells which contain words other than "None of the above". The formula is counting empty cells. Is there a way to weed out the empty cells and receive a tally of only cells with words other than "None of the above" in them?

It's been awhile since I've used excel formulas so I'm very rusty but I need to count the number of times I see a particular item in a list as long as it has another criteria as well. Example List and Result are below: I want to count the number of AAA Rewards that Alex has....

List #DateEmployeeAmountReward Type 14/17/07Alex$5.00AAA Reward 24/19/07Joe $10.00AAA Reward 34/19/07Alex $5.00 Store Certificate 44/20/07Alex $10.00 AAA Reward

Result Employee # AAA Reward Amount # Store Certificates Amount Alex Brian Joe

I have a sheet with repeated dates for several months and I need to break out data by week and then by certain criteria. I can do 1 or the other but combining the COUNTIF formula and the SUMPRODUCT formula has proven to be beyond me.

What I need to do is have the formula return a sum of all of the fields in colG that are >5 within a date range. Once I find that # I have to divide it by another field and multiply by 100 to get the percent.

I have a column of numbers ranging from 0000-9999. They are not in order and multiple numbers are used more than once. I would like to know how many times the numbers in the range of 4000-4999 appear. I am trying to use the formula =COUNTIF(F4:F500,"=4????") or =COUNTIF(F4:F500,"=4*") but neither are working. If I do a single number like this =COUNTIF(F4:F500,"=41420"), it will count them for me.

I am using the CountIf function (in column B) to count the number of events called "EVENT1" from columns C (Time) and D (Events), but the range needs to include all cells which, at the current B row, have the same value as in row A. I want to use a dynamic range so that I can account for the repeats.

I am not sure how to go about this but here is my problem: text in cells a40:A147 containing card number this: -01- and cells h40:h147 containing and "x" if the card -01- is closed. Now I want to count all the -01- cards that do not have an x in the h40:h147 cells and I need to count all the -01- cards that do not have an "x" in the h40:h147 cells.