Excel vs. Access

nancybrown

Well-known Member
Joined
Apr 7, 2005
Messages
868
I have an IF statement I am using in Excel to compare two columns of information: A = 2008 Term against B = 2009 Terms. I have a third column where I put the following formula:

=If(A2=B2,"Updated") It works great in Excel. The problem I have is that the file that I update regularly in Excel is very large and there's a lot of manipulation each time; I want to move it to Access. Will this IF statement work in a query in Access??? I presented a couple questions expressed two different ways the Access portion of Mr. Excel, but haven't gotten any hits yet . . . thought maybe I'd try the excel experts.

Help is much appreciated.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi, Buck.

Maybe try an alternative approach? Such as an SQL UPDATE statement. This avoids using formulas. It could be done using MS Query or preferably ADO. I'll write some sample code. SQL would be like
Code:
UPDATE table
SET C = 'Updated'
WHERE A = B
Can be done on closed files or open files. It would be a similar approach in MS Access, BTW.

Regards, Fazza
 
Upvote 0
I think, I might know what you mean. I haven't used Access for 3 years . . . it's like learning all over again. I'll give it a try, thanks!
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,427
Members
448,961
Latest member
nzskater

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