# Multiple IF Formulas and Conditions

#### questforexcel

##### Board Regular
Hi,

I am trying to use a Multiple IF formula to help me give the values if the following conditions are met, but it gives me a #Value error.

Could you please help me figure out the correct formula for this.

Thank you

=IF(AND(B2034<>B2035),H2035+I2035-J2035,IF(ISNUMBER(SEARCH("Beginning Balance",C2035)),(D2035+I2035-J2035),IF(AND(MONTH(F2035)<>MONTH(F2034)),(I2035-J2035),(K2034+I2035-J2035))))

### Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

#### jondavis1987

##### Active Member
i would think the problem is the <>. It reads to as if you want the formula to do that function if B2034 is less or greater than B2034. I would try it with an if function of B2034=B2035 and then have the if false part read what you want it to do if it doesn't meet that condition.

#### gaz_chops

##### Well-known Member
i would think the problem is the <>. It reads to as if you want the formula to do that function if B2034 is less or greater than B2034. I would try it with an if function of B2034=B2035 and then have the if false part read what you want it to do if it doesn't meet that condition.

< > means "Not Equal" to

#### gaz_chops

##### Well-known Member
The error is probably coming from one of the cells that you are using in the formula.

#### questforexcel

##### Board Regular

ADVERTISEMENT

Thank you, that helped.

It turns out formula does not work, if specifically cell "H" is blank. If cells I and J are blank, it still reads and displays the results.

Could you please help me on how to convert blank cells to number format, so that the formula can read this. I dot not want to manually write "0" in columns where there was no data previously.

The error is probably coming from one of the cells that you are using in the formula.

#### gaz_chops

##### Well-known Member
Are their formula in the cells, in e.g. cell H? If so i'm guessing they return "" instead of a zero, try changing the "" to 0.

#### questforexcel

##### Board Regular
That is amazingly sharp and accurate, that's exactly what I had in the cell.

I have replaced the "" with a 0 and converted the number to accounting series, so that it returns a "-" wherever there is 0.

Thank you so much.

Are their formula in the cells, in e.g. cell H? If so i'm guessing they return "" instead of a zero, try changing the "" to 0.

#### gaz_chops

##### Well-known Member
You're welcome. Lucky 1st guess

### Similar threads

Replies
1
Views
171
Replies
6
Views
406
Replies
0
Views
50
Replies
5
Views
447
Replies
10
Views
189

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Threads
1,163,545
Messages
5,832,387
Members
430,129
Latest member
EmilyCrandall

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

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