Possible IF formula help, trying to link data across worksheet

cdjw73

New Member
Joined
Jan 31, 2018
Messages
1
I work in a medical office and am trying to track patient visits. I have One worksheet (SheetA) that has all the patient Names and demographic info in a table, and also includes how many visits that patient has been authorized to receive and a column with the number of visits remaining. In another work sheet (SheetB) we have a charge list with all of the patients that have come on that day (we make a new one everyday). I am trying to make it so that when a Patient appears in SheetB the number of visits remaining for that patient in SheetA is reduced by one. Is this possible and if so how would I go about doing it. Also I am starting to think this might be better done in Access, but I am much less familiar with it than Excel so I am unsure. Any Help would be appreciated.

Thanks!
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi,


Surely this is a work for MS Access, but you can also do the I want in MS Excel
For this you would use the SumIf function.
This function sums totals according to a criterion. You have a break with the names of the patients and how many visits they have to make and another interval with the same names where the visits they made are. That way, just use SumIf to calculate how many visits they made and deduct from the amount they have.

The estructure of SumIf:

=SumIf(Range, Criteria, Sum Range)

Let's walk
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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