if then else

  1. R

    Help with IF function

    I need cell V3 to populate with a percentage that corresponds with a range of cells (AC7:AF9 shown below) based on a couple of variables (their age, whether they are male or female). basically it should be like this... Cell V3 (A Soldiers Allowed BF%) will automatically populate from a range...
  2. S

    Declaring dynamic variable using if then

    Hello, I have a problem with declaring a variable which I want to use later in my macro. The problem is that I need to first "calculate" this variable which is dependent on the file name. I used "if then else" statement to pull out from the file name one thing that changes - week number. The...
  3. S

    Need to correct this formula

    I need to modify a complex array formula. Here's the logic.... 1st condition: if the value in column A matches with the value of column A in previous row; Condition passes.... Then check if the value in Column E has occurred for the 1st time for similar value of column A Condition...
  4. S

    Modify this complex formula using IF THEN ELSE - MACROS usage

    I need to modify a complex formula using IF-THEN-ELSE that fits my requirement. In column I am using the formula "=((H2/20))" for calculating individual effort. Now, in column J, I need to display the remaining effort. For this I'm using the formula...
  5. T

    Array Question

    Hi all, Have an excel sheet I use to create estimates (each new estimate goes in row 2). Each time I create a new estimate, a row is inserted into column 2 pushing all previous records down. I have about 800 rows now. For each estimate/row, the company name is in Column A. Ultimately, I need...
  6. W

    UDF that returns arrays from if, then, else...

    Hello, I am new to this forum and I am new to Excel VBA. I apologize if this is redundant with another thread or post, but I have looked high and low via google and on this forum and have yet to found what I am looking for. I started with a simple if, then, else function as follows...
  7. C

    if then statement w/ sumproduct

    I can't get this formula to work. I suspect I'm missing something relatively simple. IF(H6=".Last Three Months.",SUMPRODUCT(--('Data Entry'!F4:F503=>'formulas'!H1),--('Data Entry'!F4:F503=<'formulas'!H2),--('Data Entry'!K4:K503,"Yes"),SUMPRODUCT(--('Data Entry'!H4:H503=H6),--('Data...
  8. A

    vba looping if then else structure

    I'm doing a 'if then else' structure on vba - where i want the if then else function to work on every square - but i can't work out how to make it loop. so at the moment I want to know if each cell says depreciation and my code is: ActiveSheet.Cells(2, 1).Select If ActiveCell = "depreciation"...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top