ifs and lookups

  1. A

    Need help with either Conditional formula or VBA script to solve issue

    Hello I am having an issue figuring out how to get my duty excel spreadsheet to do the below and am looking for either a formula or VBA based solution: Basically I have the below spreadsheet and if there is a value in the additional duty column (starting at I5) I would like the value to be...
  2. W

    Need help to find correct formula! Multiple criteria and range levels

    Trying to come up with a formula for a Sandbox that calculates an employee bonus's Criteria 1 - Type of Mgr - These 2 levels receive bonus based on % variance to budget * General Mgr * Asst Mgr Criteria 2 - Type of Mgr - These 2 levels receive bonus based on Store Level Sales (4 levels of Low...
  3. A

    IFS with addition? Help Please

    I am looking for a formula that will add 180 days to G3 if the answer to E3 is NO with the result put in H3, if the answer is yes put the date in F3 with the result put in H3. I have uploaded a screen shot for reference. Thank you for your help!!
  4. A

    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...
  5. C

    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+...
  6. M

    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...
  7. S

    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...
  8. P

    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...
  9. P

    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.
  10. P

    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...
  11. J

    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...
  12. S

    Generating leadsheets

    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...
  13. R

    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...
  14. G

    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...
  15. R

    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...
  16. S

    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...
  17. C

    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...
  18. V

    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...
  19. D

    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...
  20. E

    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...

Some videos you may like

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...
Top