Vllokup, then an if

nobbsy

New Member
Joined
Jul 11, 2005
Messages
36
Hi,

I am using an if statement in a spreadsheet (see below)
=IF('Microsoft Word'!C4="","",COUNTIF('Microsoft Word'!$C4:$N4,1)+COUNTIF('Microsoft Word'!$C4:$N4,2))

At the moment i am hoping the rows on the various spreadsheets are alighed together. I want to be able to put in a Vlookup, before it performs the if, so i am able to sort one of the spreadsheets at a later date.

The vlookup will need to check the first cell in the row is the same as the other spreadsheet, then when it is start the if statement.

Thanks
Sorry if the explanation s bad...

[/img]
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
I think you have to explain better what you are trying to do.

It sounds like you need a nested if,

Something like: =If("first row in cell"='Microsoft Word'!"first row in cell", insert your original IF statement here,"") ?
 
Upvote 0

Forum statistics

Threads
1,203,460
Messages
6,055,554
Members
444,796
Latest member
18ecooley

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