Still Need Help

TiggerToo

Board Regular
Joined
Feb 26, 2002
Messages
158
Can someone write a formula (again, last one did not work) to check two columns for a results.
=if columns A is equal to F2 and
if column B is equal to 31 then
column D
=if(a6=f2 and b6=31,d6)
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
On 2002-05-01 02:41, TiggerToo wrote:
Can someone write a formula (again, last one did not work) to check two columns for a results.
=if columns A is equal to F2 and
if column B is equal to 31 then
column D
=if(a6=f2 and b6=31,d6)

=IF(AND(A6=F2,B6=31),D6,0)

which is not to be entered in A6, B6, or D6.

The formula says: When both subconditions (that is, the value in A6 being equal to the value in F2 plus the value in B6 being equal to 31) are true then the value which must appear in the cell of this formula must be the value in D6; Otherwise, when either one or both of the subconstions are false, the value which must appear in the cell of this formula must be 0.
 
Upvote 0

Forum statistics

Threads
1,213,567
Messages
6,114,342
Members
448,570
Latest member
rik81h

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