# ifs and lookups

1. ### STD Deviation Discrepancy

I am trying to find the standard deviation for data presented in different ranges and I am currently using the following equation: =+STDEV.S(IF((e7a1!A12:A1010>=Primary!K\$5)*e7a1!A12:A1010<=Primary!K\$6);INDEX(Table1;0;MATCH(\$D19;Table1[#Headers];0));)) The reason for the formatting is that its...
2. ### Show cell value based upon data contained in column below

Hey all, I'm trying to work out the best formula to use for the below requirements. I have my sheet below, I'm looking to show the top field (row 1), if there is any amount within the corresponding columns below, into a new column. What formula am I best working with? This could extend to 20+...
3. ### IF and VLOOKUP statement - not working

Hello Everyone! I am looking to create a formula to do the following.. If C14="THIS" then look in table on page 2 (columns B-F) for data in Cell E23(from page 1) and return pricing listed in column 3, but if Cell C14="THAT" then look in table on page 2 (columns B-F) for data in Cell E23 and...
4. ### Summarising a calendars events with lookups and ifs

Hi all, I am trying to create a summary of a sort of calendar I have made. The calendar is a daily view and runs landscape, with the days/dates (custom formatted to just show the day i.e. d) at the top and then with the task/meeting categories to the left of this (column A). I want to summarise...
5. ### Return last value of a row based on another value

Hi, I have written the following formula: =INDEX('Daily Breakdown'!AD1:AD1000,COUNTIF(('Daily Breakdown'!AD1:AD1000),"<>0")) this returns the last value in column AD which is not 0. However I want this to return the bottom/last value based on the value in column B So if column B is equal...
6. ### Date If Formula

Hi, I would like to write an If Formula (think combines vlookup too) I would like to say if todays today is displayed in x field return the value in y field, if not repeat the formula for yesterday date so like today()-1 etc and repeat this for 2,3 todays.
7. ### Array formula (think index, match)

Hi, Got an issue which is complicated so I hope this makes sense :) I want to write a formula in a spreadsheet saying if the value in column a (tab 1) is equal to that from the range in column a (tab 2) then check column S for the most recent value (date is in column B (tab 2)) and return...
8. ### comparing 3 columns with VBAI

I need to setup code that compares 3 columns. column C will have comparison values. I am trying to compare column C to D. If column D value is matching C, column F should be greater than 1. If not I would like to prompt user "Please put greater value in column F" and exit out of the code. Is...

I have a workbook in which I will have multiple tabs. Tab 1 looks like this. Let's call this Tab - ALL. The common thread is the group name: I will create a second tab called "cash" and have a A1 also be called "cash" I want to then prepopulate this second tab with all accounts...
10. ### Help! Multiple Criteria

Hello everyone, hope all is well. I will be making a presentation – automated gathering of info. I just can’t figure out how to make this happen. The first spreadsheet would be the output, the date on the top are the ship dates. I have customers that are ordering 2 items irregularly, need to...
11. ### Index, Match and IF Statement Help-

Hello I am having issues with the following: I have two data sets. Both contain transactions and neither have unique values. Data set 1 contains Truck, and Toll Transaction Date/Time. Data set 2 contains Truck, Order Number, Dispatch Date/Time, and Empty Date/Time. I am attempting to index the...
12. ### Sum / index matching

Hi All, For the life of me I cannot think of a function I can make work to sum the totals of various products against a unique reference code. Basically I want to to know how much in total of each product I need to purchase from summating Volumes in Column E and giving output in column E...
13. ### Flagging if cell found within list then checking if date is greater than that in list

Hi all, I'm having a tough time flagging rows that match the values within a list and also have dates that are greater or equal to those dates that correspond to the names in the list. See example below: List: <tbody> U V 1 Name Date 2 A 10/01/15 3 B 10/02/15 4 C 10/03/15 5 D...
14. ### IFs with multiples criteria

<tbody> Cost per month %Allocation Start Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 1000 50% 1 </tbody> Hi everyone, I hope you can help me with the formula. My logic is if Start month = 1, then Jan - Dec = Cost per month* %Allocation if start month = 2, Jan = 0...
15. ### SUMIFS alternatives to return text

I have a vast amount of data, and I want to return a specific cell's text value if certain criteria in other columns are met. I can use SUMIFS to get it to work for values (numbers) but cannot apply a similar theory for text. Probably easier explained by much simplified example below... I feel...
16. ### if and VLOOKUP formula help

Hi I have been wracking my tiny brain all day and cannot figure out what I am doing wrong. Basically my formula needs to do the following: lookup a value in a set column according to ID number and if this is blank to leave blank and do nothing else, if not blank to lookup another column...
17. ### Combining HLOOKUP and IF statements

Hey all, I am stuck on this formula. So I created key to lookup and match a type a for a month to get a value. Some the keys do not have a value (meaning key is non existent) for a month so it returns as #N/A in the cell. This is the lookup formula I have...
18. ### pulling down empty cells

Hi, I have a spreadsheet which has orders on, when one person has placed one order, the personal info and order come up on one row. However my problem is when someone places more than one order; this is because the personal info is on a row and the order(s) the rows below. What I need is some...
19. ### mulitple IFs

i have a spreadsheet that does a vlookup if cell A7 has text in it which i want to display as a hyperlink the formula below works great but i dont want it to display anything if the vlookup does not contain any text so i have been trying to insert another IF in the vlookup but cant get it to...
20. ### How to List - Automatically

If sheet A consist of a list like this: <table height="138" width="423" border="0" cellpadding="0" cellspacing="0"><colgroup><col style="mso-width-source:userset;mso-width-alt:2998;width:62pt" width="82"> <col style="mso-width-source:userset;mso-width-alt:3328;width:68pt" width="91"> <col...