Multiple Formulas in one cell

dustyd

New Member
Joined
Aug 6, 2015
Messages
2
Im an English teacher and i want to select a lesson by the unit number(cell C3) and the lesson number(cell D3)
when i select the unit and lesson it must pull up the lesson info from cells A23-A46
and display it on my note cell(cell G3)
here is my formula and it works just the way i want it to but i cant put multiple formulas next to it.


=IF((C3=1)*(D3=1),A23,)

so the value of c3 is 1 which is unit 1 and the value of D3 is 1 which is lesson 1 so that must display info from cell A23.

I want to be able to select any value and it must display the info relevant the note cell from A23-A46


all Im asking is for multiple formulas that are the same with different values and can select the relevant info for that value in one cell.

thanks in advance
regards
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
How would Excel know which value in A23-A46 belongs to which unit/lesson combination?
I would expect unit and lesson adjacent to A23-A46 in B23-C46.

By the way I'm not a native English speaker. ;)
 
Upvote 0
Read it again and it sounds like you need a lookup, post a sample of your data as it appears in your spreadsheet.
 
Upvote 0
I figured it out

so i needed to pull info from cells A21 -A44 and display it on my note slide when i put to values in from two different cells

here is my mess:)
it does exactly what i want it to do

thanks
for your input everyone

=IF((C7=1)*(D7=1),$A$21,IF((C7=1)*(D7=2),$A$22,IF((C7=1)*(D7=3),$A$23,IF((C7=1)*(D7=8),"Quiz",IF((C7=2)*(D7=1),$A$25,IF((C7=2)*(D7=3),$A$26,IF((C7=2)*(D7=8),"Quiz",IF((C7=3)*(D7=2),$A$27,IF((C7=3)*(D7=3),$A$28,IF((C7=3)*(D7=8),"Quiz",IF((C7=4)*(D7=3),$A$30,IF((C7=4)*(D7=8),"quiz,progress,PTM",IF((C7=5)*(D7=2),$A$33,IF((C7=5)*(D7=8),"Quiz",IF((C7=6)*(D7=1),$A$34,IF((C7=6)*(D7=2),$A$35,IF((C7=7)*(D7=2),$A$36,IF((C7=7)*(D7=4),$A$37,IF((C7=7)*(D7=8),"Quiz",IF((C7=8)*(D7=1),$A$38,IF((C7=8)*(D7=8),"progress,Quiz")))))))))))))))))))))
 
Upvote 0
There is probably a better way of doing it, but not without seeing a sample your data.

At least you're sorted :-)
 
Upvote 0
OMG. :eeek:
You'd better put the unit-lesson in front of your notes.
Like
Col A Col B
1-1 Notes for lesson 1, unit 1
1-2 Notes for lesson 1, unit 2

If you complete the list in A21:B41, then in G3:
Code:
=INDEX($B$21:$B$41,MATCH(B3&"-"&C3,$A$21:$A$41,0))
Translated in English: pick the value from B21 through B41 where the corresponding value in column A equals the concatenation of lesson in B3 and unit in C3, separated by a hyphen.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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